You haven't said what ratio you want.
Ratio of Bulls to Total beefs = 18/63 = 2/7
Ratio of Cows to Total Beefs = 45/63 = 5/7
Ratio of Bulls to Cows = 18/45 = 2/5
Ratio of Total Beefs to Frustrated Cows = 63/27 = 7/3
Ratio of Total Beefs to Exhausted Bulls = 63/18 = 7/2
.
.
.
etc.