input
stringlengths
77
356
output_program
stringlengths
28
86
output_answer
stringlengths
1
19
split
stringclasses
1 value
dataset
stringclasses
1 value
A tailor cut 0.75 inch off a skirt and 0.5 inch off a pair of pants . How much more did the tailor cut off the skirt than the pants ?
answer = 0.75 - 0.5 print(answer)
0.25
train
addsub
Benny found 66 seashells and 49 starfish on the beach . He gave 52 of the seashells to Jason . How many seashells does Benny now have ?
answer = 66 - 52 print(answer)
14
train
addsub
Mary has 9 yellow marbles. Joan has 3 yellow marbles . How many yellow marbles do they have in all ?
answer = 9 + 3 print(answer)
12
train
addsub
Keith spent $ 136.01 on speakers , $ 139.38 on a CD player , and $ 112.46 on new tires . He wanted 3 CD 's for $ 6.16 , but did n't buy them . In total , how much did he spend ?
answer = 136.01 + 139.38 + 112.46 print(answer)
387.85
train
addsub
A renovation project required 0.16666666666666666 truck-load of sand , 0.3333333333333333 truck-load of dirt , and 0.16666666666666666 truck-load of cement . How many truck-loads of material were needed in all ?
answer = 0.16666666666666666 + 0.3333333333333333 + 0.16666666666666666 print(answer)
0.6666666666666666
train
addsub
There are 41 crayons and 26 pencils in the drawer . Sam placed 12 crayons in the drawer . How many crayons are now there in total ?
answer = 41 + 12 print(answer)
53
train
addsub
There are 5 oak trees currently in the park . Park workers will plant 4 oak trees today . How many oak trees will the park have when the workers are finished ?
answer = 5 + 4 print(answer)
9
train
addsub
There are 34 dogwood trees currently in the park . Park workers will plant 49 dogwood trees today . How many dogwood trees will the park have when the workers are finished ?
answer = 34 + 49 print(answer)
83
train
addsub
Ron weighed 2 colored metal balls during a science class . The blue ball weighed 6 pounds and the brown ball weighed 3.12 pounds . If Ron places both balls on the scale at the same time , what will the scale read ?
answer = 6.0 + 3.12 print(answer)
9.12
train
addsub
A construction company ordered 0.16666666666666666 ton of concrete , 0.16666666666666666 ton of bricks , and 0.5 ton of stone . How many tons of material did the company order in all ?
answer = 0.16666666666666666 + 0.16666666666666666 + 0.5 print(answer)
0.8333333333333334
train
addsub
A cell phone company has a total of 7422 customers across the world . If 723 of its customers live in the United States , how many of its customers live in other countries ?
answer = 7422.0 - 723.0 print(answer)
6699.0
train
addsub
Mary found 18 seashells, and Jessica found 41 seashells on the beach . How many seashells did they find together ?
answer = 18 + 41 print(answer)
59
train
addsub
Mike bought some toys . He bought marbles for $ 9.05 , a football for $ 4.95 , and spent $ 6.52 on a baseball . In total , how much did Mike spend on toys ?
answer = 9.05 + 4.95 + 6.52 print(answer)
20.52
train
addsub
Joan grew 29 carrots and 14 watermelons . Jessica grew 11 carrots . How many carrots did they grow in all ?
answer = 29 + 11 print(answer)
40
train
addsub
A multi-national corporation has 2041 part-time employees and 63093 full-time employees . How many employees work for the corporation ?
answer = 2041.0 + 63093.0 print(answer)
65134.0
train
addsub
Tim found 679 seashells and 110 starfish on the beach . He gave 172 of the seashells to Sara . How many seashells does Tim now have ?
answer = 679 - 172 print(answer)
507
train
addsub
In 1 week , Mitch 's family drank 0.5 carton of regular milk and 0.1 carton of soy milk . How much milk did they drink in all ?
answer = 0.5 + 0.1 print(answer)
0.6
train
addsub
Sally grew 113 turnips and 118 pumpkins . Mary grew 129 turnips . How many turnips did they grow in total ?
answer = 113 + 129 print(answer)
242
train
addsub
Melanie grew 139 turnips . Benny grew 113 turnips . How many turnips did they grow in all ?
answer = 139 + 113 print(answer)
252
train
addsub
Last year at Newberg 's airport , 14507 passengers landed on time . Unfortunately , 213 passengers landed late . In all , how many passengers landed in Newberg last year ?
answer = 14507.0 + 213.0 print(answer)
14720.0
train
addsub
Joan went to 4 football games this year . She went to 9 games last year . How many football games did Joan go to in all ?
answer = 4 + 9 print(answer)
13
train
addsub
To fill an order , the factory dyed 61921 yards of silk green and 49500 yards pink . How many yards of silk did it dye for that order ?
answer = 61921.0 + 49500.0 print(answer)
111421.0
train
addsub
Blake filled a bucket with 0.8 gallon of water . Later , he poured out 0.2 gallon of the water . How much water is in the bucket ?
answer = 0.8 - 0.2 print(answer)
0.6
train
addsub
Alyssa 's dog had puppies . She gave 7 to her friends . She now has 5 puppies . How many puppies did she have to start with ?
answer = 7 + 5 print(answer)
12
train
addsub
A dust storm sweeps across the prairie . It covers 64535 acres of the prairie in dust , but leaves 522 acres untouched . How many acres does the prairie cover ?
answer = 64535.0 - 522.0 print(answer)
64013.0
train
addsub
Sam had 49 pennies and 24 nickels in his bank . His dad gave him 39 nickels and 31 quarters . How many nickels does he have now ?
answer = 24 + 39 print(answer)
63
train
addsub
Sally picked 7 lemons, and Mary picked 9 lemons from the lemon tree . How many lemons were picked in total ?
answer = 7 + 9 print(answer)
16
train
addsub
Fred has 10 red balloons , Sam has 46 red balloons , and Dan has 16 red balloons . The balloons cost 10 dollars . How many red balloons do they have in all ?
answer = 10 + 46 + 16 print(answer)
72
train
addsub
At a pie-eating contest , Erik got through 0.6666666666666666 pie before time was called ; Frank finished just 0.3333333333333333 pie . How much more pie did Erik eat than Frank ?
answer = 0.6666666666666666 - 0.3333333333333333 print(answer)
0.3333333333333333
train
addsub
Oscar 's bus ride to school is 0.75 mile and Charlie 's bus ride is 0.25 mile . How much longer is Oscar 's bus ride than Charlie 's ?
answer = 0.75 - 0.25 print(answer)
0.5
train
addsub
Sam grew 4 watermelons , but the rabbits ate 3 watermelons . How many watermelons does Sam have ?
answer = 4 - 3 print(answer)
1
train
addsub
There were a total of 8 football games this year , 4 are played at night . Keith missed 4 of the games . How many football games did Keith go to in total ?
answer = 8 - 4 print(answer)
4
train
addsub
Joan picked 37 oranges, and Sara picked 10 oranges . Alyssa picked 30 pears . How many oranges were picked in total ?
answer = 37 + 10 print(answer)
47
train
addsub
There is 0.16666666666666666 cup of oil in Scarlett 's measuring cup . If Scarlett adds 0.6666666666666666 cup more , how much oil will be in the measuring cup ?
answer = 0.16666666666666666 + 0.6666666666666666 print(answer)
0.8333333333333334
train
addsub
Joan spent $ 15 on shorts and $ 14.82 on a jacket , and $ 12.51 on a shirt . She went to 3 shops . In total , how much money did Joan spend on clothing ?
answer = 15 + 14.82 + 12.51 print(answer)
42.33
train
addsub
Dan had 7 potatoes and 4 cantelopes in the garden . The rabbits ate 4 of the potatoes . How many potatoes does Dan now have ?
answer = 7 - 4 print(answer)
3
train
addsub
There are 39 scissors and 22 pencils in the drawer . Dan placed 13 scissors in the drawer . How many scissors are now there in total ?
answer = 39 + 13 print(answer)
52
train
addsub
There are 41 short trees and 44 tall trees currently in the park . Park workers will plant 57 short trees today . How many short trees will the park have when the workers are finished ?
answer = 41 + 57 print(answer)
98
train
addsub
Mary loves eating fruits . Mary paid $ 11.08 for berries , $ 14.33 for apples , and $ 9.31 for peaches . In total , how much money did she spend ?
answer = 11.08 + 14.33 + 9.31 print(answer)
34.72
train
addsub
A farmer started the day with 8.75 buckets of seeds . After spending the morning sowing seeds , she now has 6 buckets . How many buckets of seeds did the farmer sow ?
answer = 8.75 - 6.0 print(answer)
2.75
train
addsub
Sandy went to the mall to buy clothes . She spent $ 13.99 on shorts , $ 12.14 on a shirt , and $ 7.43 on a jacket . How much money did Sandy spend on clothes ?
answer = 13.99 + 12.14 + 7.43 print(answer)
33.56
train
addsub
There are 9 oak trees currently in the park . Park workers had to cut down 2 oak trees that were damaged . How many oak trees will the park have when the workers are finished ?
answer = 9 - 2 print(answer)
7
train
addsub
Brandy made trail mix for a backpacking trip . She used 0.16666666666666666 pound of peanuts , 0.16666666666666666 pound of chocolate chips , and 0.08333333333333333 pound of raisins . How many pounds of trail mix did Brandy make ?
answer = 0.16666666666666666 + 0.16666666666666666 + 0.08333333333333333 print(answer)
0.4166666666666667
train
addsub
There are 33 pencils and 44 crayons in the drawer . Joan placed 27 pencils in the drawer . How many pencils are now there in total ?
answer = 33 + 27 print(answer)
60
train
addsub
The Richmond Tigers sold a total of 9570 tickets last season . If they sold 3867 tickets in the first half of the season , how many tickets did they sell in the second half ?
answer = 9570.0 - 3867.0 print(answer)
5703.0
train
addsub
Roadster 's Paving Company used 10 tons of cement to pave Lexi 's street and 5.1 tons of cement to pave Tess 's street . How much cement did Roadster 's Paving Company use in all ?
answer = 10.0 + 5.1 print(answer)
15.1
train
addsub
Melanie had 19 dimes in her bank . Her dad gave her 39 dimes and her mother gave her 25 dimes . How many dimes does Melanie have now ?
answer = 19 + 39 + 25 print(answer)
83
train
addsub
A chef bought 0.14 kilograms of almonds and 0.38 kilograms of pecans . How many kilograms of nuts did the chef buy in all ?
answer = 0.14 + 0.38 print(answer)
0.52
train
addsub
Tori is a school janitor . Last week , she picked up a total of 1576 pieces of trash . If she picked up 344 pieces of trash in the classrooms , how many pieces of trash did Tori pick up outside the classrooms ?
answer = 1576.0 - 344.0 print(answer)
1232.0
train
addsub
Keith grew 6 turnips . Alyssa grew 9 turnips . How many turnips did they grow in all ?
answer = 6 + 9 print(answer)
15
train
addsub
There are 27 pencils in the drawer . Nancy placed 45 pencils in the drawer . How many pencils are now there in total ?
answer = 27 + 45 print(answer)
72
train
addsub
Sam found 18 seashells, and Mary found 47 seashells on the beach . How many seashells did they find together ?
answer = 18 + 47 print(answer)
65
train
addsub
Hoping to be named Salesperson of the Month , Rosa called the names from 10.2 pages of the phone book last week . This week , she called the people listed on another 8.6 pages of the same phone book . How many pages worth of people did Rosa call in all ?
answer = 10.2 + 8.6 print(answer)
18.8
train
addsub
Alyssa picked 42 pears and Nancy picked 17 pears from the pear tree . How many pears were picked in all ?
answer = 42 + 17 print(answer)
59
train
addsub
It rained 0.9 inches on Monday . On Tuesday , it rained 0.7 inches less than on Monday . How much did it rain on Tuesday ?
answer = 0.9 - 0.7 print(answer)
0.2
train
addsub
Sally paid $ 12.32 total for peaches , after a 3 dollar coupon , and $ 11.54 for cherries . In total , how much money did Sally spend ?
answer = 12.32 + 11.54 print(answer)
23.86
train
addsub
Nina did a running drill to get in shape for soccer season . First , Nina ran 0.08333333333333333 mile . Then she ran 0.08333333333333333 mile and 0.6666666666666666 mile . How many miles did Nina run in total ?
answer = 0.08333333333333333 + 0.08333333333333333 + 0.6666666666666666 print(answer)
0.8333333333333334
train
addsub
Molly owns the Wafting Pie Company . This morning , her employees used 816 eggs to bake pumpkin pies . If her employees used a total of 1339 eggs today , how many eggs did they use in the afternoon ?
answer = 1339.0 - 816.0 print(answer)
523.0
train
addsub
Terrell hiked 8.2 miles on Saturday . Then , on Sunday , he hiked another 1.6 miles . How far did Terrell hike all together ?
answer = 8.2 + 1.6 print(answer)
9.8
train
addsub
Each of farmer Cunningham 's 6048 lambs is either black or white . There are 193 white ones . How many of Farmer Cunningham 's lambs are black ?
answer = 6048.0 - 193.0 print(answer)
5855.0
train
addsub
An oil pipe in the sea broke . Before engineers started to fix the pipe , 2475 gallons of oil leaked into the water . A total of 6206 gallons of oil leaked before the pipe was fixed . How many gallons of oil leaked while the engineers were fixing the pipe ?
answer = 6206.0 - 2475.0 print(answer)
3731.0
train
addsub
There are 9 crayons in the drawer . Benny placed 3 crayons in the drawer . How many crayons are now there in total ?
answer = 9 + 3 print(answer)
12
train
addsub
For his car , Mike spent $ 118.54 on speakers and $ 106.33 on new tires . Mike wanted 3 CD 's for $ 4.58 but decided not to . In total , how much did Mike spend on car parts ?
answer = 118.54 + 106.33 print(answer)
224.87
train
addsub
1 evening , a restaurant served a total of 0.2 loaf of wheat bread and 0.4 loaf of white bread . How many loaves were served in all ?
answer = 0.2 + 0.4 print(answer)
0.6
train
addsub
There are 107 walnut trees currently in the park . Park workers will plant 104 walnut trees today . How many walnut trees will the park have when the workers are finished ?
answer = 107 + 104 print(answer)
211
train
addsub
There are 4 walnut trees currently in the park . Park workers will plant 6 walnut trees today . How many walnut trees will the park have when the workers are finished ?
answer = 4 + 6 print(answer)
10
train
addsub
Mary found 2 seashells and Keith found 5 seashells on the beach . When they cleaned them , they discovered that 9 were cracked . How many seashells did they find together ?
answer = 2 + 5 print(answer)
7
train
addsub
Dale 's Vegetarian Restaurant bought 2.8333333333333335 pounds of green peppers and 2.8333333333333335 pounds of red peppers . How many pounds of peppers did Dale 's Vegetarian Restaurant buy in all ?
answer = 2.8333333333333335 + 2.8333333333333335 print(answer)
5.666666666666667
train
addsub
Melanie picked 7 plums and 4 oranges from the orchard . She gave 3 plums to Sam . How many plums does she have now ?
answer = 7 - 3 print(answer)
4
train
addsub
Alyssa picked 17 plums and Jason picked 10 plums . Melanie picked 35 pears . How many plums were picked in all ?
answer = 17 + 10 print(answer)
27
train
addsub
Dan joined his school 's band . He bought a clarinet for $ 130.30 , and a song book which was $ 11.24 . Dan found $ 12.32 in his pocket . How much did Dan spend at the music store ?
answer = 130.30 + 11.24 print(answer)
141.54
train
addsub
Eve ran 0.7 mile and walked 0.6 mile . How much farther did Eve run than walk ?
answer = 0.7 - 0.6 print(answer)
0.1
train
addsub
Hannah 's Vegetarian Restaurant bought 0.3333333333333333 pound of green peppers and 0.3333333333333333 pound of red peppers . How many pounds of peppers did Hannah 's Vegetarian Restaurant buy in all ?
answer = 0.3333333333333333 + 0.3333333333333333 print(answer)
0.6666666666666666
train
addsub
Sam had 9 dimes in his bank . His dad gave him 7 dimes . How many dimes does Sam have now ?
answer = 9 + 7 print(answer)
16
train
addsub
A ship full of grain crashes into a coral reef . By the time the ship is fixed , 49952 tons of grain have spilled into the water . Only 918 tons of grain remain onboard . How many tons of grain did the ship originally contain ?
answer = 49952.0 + 918.0 print(answer)
50870.0
train
addsub
Benny picked 2 apples, and Dan picked 9 apples from the apple tree . How many apples were picked in total ?
answer = 2 + 9 print(answer)
11
train
addsub
Mike had 33 quarters and 87 nickels in his bank . His dad borrowed 75 nickels from Mike . How many nickels does he have now ?
answer = 87 - 75 print(answer)
12
train
addsub
Brennan had 0.25 grams of pepper . Then he used 0.16 grams of the pepper to make some scrambled eggs . How much pepper does Brennan have ?
answer = 0.25 - 0.16 print(answer)
0.09
train
addsub
There were 6 roses in the vase . Mary cut some roses from her flower garden . There are now 16 roses in the vase . How many roses did she cut ?
answer = 16 - 6 print(answer)
10
train
addsub
Last year , 90171 people were born in a country , and 16320 people immigrated to it . How many new people began living in the country last year ?
answer = 90171.0 + 16320.0 print(answer)
106491.0
train
addsub
Each day , the polar bear at Richmond 's zoo eats 0.2 bucket of trout and 0.4 bucket of salmon . How many buckets of fish does the polar bear eat daily ?
answer = 0.2 + 0.4 print(answer)
0.6
train
addsub
Mandy made an apple pie . She used 0.6666666666666666 tablespoon of cinnamon and 0.5 tablespoon of nutmeg . How much more cinnamon than nutmeg did Mandy use ?
answer = 0.6666666666666666 - 0.5 print(answer)
0.16666666666666666
train
addsub
There are 47 orchid bushes currently in the park . Park workers will plant 37 orchid bushes today and 25 orchid bushes tomorrow . It took 35 workers to finish the work . How many orchid bushes will the park have when the workers are finished ?
answer = 47 + 37 + 25 print(answer)
109
train
addsub