{ "question": "A farmer is buying feed for his horses. He buys a variety of hay, oats, carrots and sugar cubes. Since sugar cubes are a rare treat, he only buys two 1-pound boxes of them for the whole stable. He only wants enough carrots to feed the horses while the vegetables are fresh, so he buys four 12-pound bags. Hay is the main diet of his horses, so he buys forty-two 75-pound bales. Oats are a staple to supplement the hay, so he buys twenty 65-pound sacks. If his farm truck can carry 2250 pounds at a time, how many trips does the farmer need to transport all the feed?", "answer": "The farmer is buying 2 * 1 = <<2*1=2>>2 pounds of sugar cubes.\nHe is buying 4 * 12 = <<4*12=48>>48 pounds of carrots.\nHe is buying 42 * 75 = <<42*75=3150>>3150 pounds of hay bales.\nHe is buying 20 * 65 = <<20*65=1300>>1300 pounds of oat sacks.\nThe weight of all the feed is 2 + 48 + 3150 + 1300 = <<2+48+3150+1300=4500>>4500 pounds.\nThus, the farmer needs 4500 / 2250 = <<4500/2250=2>>2 trips to transport all the feed in his farm truck.\n#### 2", "id_orig": 459, "id_shuffled": 7, "question_annotated": "A farmer is buying feed for his {animals,horses}. He buys a variety of {o1, hay}, {o2,oats}, {o3,carrots} and {o4, sugar cubes}. Since {o4,sugar cubes} are a rare treat, he only buys {n4,two} {w4,1}-{unit,pound} boxes of them for the whole stable. He only wants enough {o3,carrots} to feed the {animals,horses} while the vegetables are fresh, so he buys {n3,four} {w3,12}-{unit, pound} bags. {o1,hay} are the main diet of his {animals,horses}, so he buys {n1, forty-two} {w1,75}-{unit,pound} packs. {o2, Oats} are a staple to supplement the {o1, hay}, so he buys {n2, twenty} {w2, 65}-{unit,pound} sacks. If his farm truck can carry {total,2250} {unit,pound}s at a time, how many trips does the farmer need to transport all the feed?\n\n#init:\n- animals = sample(['horses', 'cows', 'sheep', 'pigs', 'alpacas'])\n- unit = sample(weights_med)\n- o1, o2, o4 = sample([\"hay\", \"corns\", \"oats\", \"apples\", \"wheats\"], 3)\n- o3 = sample([\"carrots\", \"beets\", \"cucumbers\"])\n- $n4 = numbers_within(4, 8)\n- $n3 = numbers_within(11, 15)\n- $n2 = numbers_within(15, 20)\n- $n1 = numbers_within(31, 35)\n- $w4 = range(3, 8)\n- $w3 = range(5, 10)\n- $w2 = range(15, 20)\n- $w1 = range(35, 45)\n- $total = range(100, 251, 10)\n\n#conditions:\n- w4*n4 < w3*n3 < w2*n2 < w1 * n1\n- divides(n1*w1 + n2*w2 + n3*w3 + n4*w4, total)\n\n#answer: (n1*w1 + n2*w2 + n3*w3 + n4*w4)//total", "answer_annotated": "The farmer is buying {n4} * {w4} = <<{n4}*{w4}={n4*w4}>>{n4*w4} {unit}s of {o4}.\nHe is buying {n3} * {w3} = <<{n3}*{w3}={n3*w3}>>{n3*w3} {unit}s of {o3}.\nHe is buying {n2} * {w2} = <<{n2}*{w2}={n2*w2}>>{n2*w2} {unit}s of {o2}.\nHe is buying {n1} * {w1} = <<{n1}*{w1}={n1*w1}>>{n1*w1} {unit}s of {o1}.\nThe weight of all the feed is {n4*w4} + {n3*w3} + {n2*w2} + {n1*w1} = <<{n4*w4} + {n3*w3} + {n2*w2} + {n1*w1}={n1*w1 + n2*w2 + n3*w3 + n4*w4}>>{n1*w1 + n2*w2 + n3*w3 + n4*w4} {unit}s.\nThus, the farmer needs {n1*w1 + n2*w2 + n3*w3 + n4*w4} / {total} = <<{n1*w1 + n2*w2 + n3*w3 + n4*w4} / {total}={(n1*w1 + n2*w2 + n3*w3 + n4*w4)//total}>>{(n1*w1 + n2*w2 + n3*w3 + n4*w4)//total} trips to transport all the feed in his farm truck.\n#### {(n1*w1 + n2*w2 + n3*w3 + n4*w4)//total}" }