A ranch has both horses and ponies. Exactly 5/6 of the ponies have horseshoes, and exactly 2/3 of the ponies with horseshoes are from Iceland. If there are 4 more horses than ponies, what is the minimum possible combined number of horses and ponies on the ranch?
Choose the most appropriate option: A) 18 B) 21 C) 38 D) 40 E) 57
5/6*P have horseshoes, so P is a multiple of 6.   2/3*5/6*P = 5/9*P are Icelandic ponies with horseshoes, so P is a multiple of 9.   The minimum value of P is 18. Then H = P+4 = 22.   The minimum number of horses and ponies is 40.   The answer is 40.
<result>D</result>
A ranch has both horses and ponies. Exactly 5/6 of the ponies have horseshoes, and exactly 2/3 of the ponies with horseshoes are from Iceland. If there are 4 more horses than ponies, what is the minimum possible combined number of horses and ponies on the ranch?