input
stringlengths 77
356
| output_program
stringlengths 28
86
| output_answer
stringlengths 1
19
| split
stringclasses 1
value | dataset
stringclasses 1
value |
---|---|---|---|---|

Dan has 64 violet marbles. He gave Mary 14 of the marbles . How many violet marbles does he now have ? | answer = 64 - 14
print(answer) | 50 | train | addsub |

A bathing suit manufacturer has a supply of 14797 bathing suits for men . In addition , it has 4969 bathing suits for women . How many bathing suits are available overall ? | answer = 14797.0 + 4969.0
print(answer) | 19766.0 | train | addsub |

Jason grew 37 watermelons and 30 pumpkins . Sandy grew 11 watermelons . How many watermelons did they grow in total ? | answer = 37 + 11
print(answer) | 48 | train | addsub |

Irwin 's family went on a camping trip in the mountains . On the first day , they hiked from their car to the campsite . First , they hiked 0.2 mile from the car to a stream , and 0.4 mile from the stream to a meadow . Then they hiked 0.1 mile from the meadow to the campsite . How many miles did Irwin 's family hike in all ? | answer = 0.2 + 0.4 + 0.1
print(answer) | 0.7 | train | addsub |

Mary picked 122 oranges and Jason picked 105 oranges from the orange tree . How many oranges were picked in total ? | answer = 122 + 105
print(answer) | 227 | train | addsub |

Fred has 5 baseball cards . Melanie bought 3 of Fred 's baseball cards . How many baseball cards does Fred have now ? | answer = 5 - 3
print(answer) | 2 | train | addsub |

Sam has 110 books . Joan has 102 books . How many books do they have together ? | answer = 110 + 102
print(answer) | 212 | train | addsub |

There are 112 short trees and 119 tall trees currently in the park . Park workers will plant 105 short trees today . How many short trees will the park have when the workers are finished ? | answer = 112 + 105
print(answer) | 217 | train | addsub |

Paco 's Countertop Company purchased pieces of marble from a quarry . The weights of the pieces they purchased were 0.3333333333333333 ton , 0.3333333333333333 ton , and 0.08333333333333333 ton . How many tons of marble did Paco 's Countertop Company purchase in all ? | answer = 0.3333333333333333 + 0.3333333333333333 + 0.08333333333333333
print(answer) | 0.75 | train | addsub |

Sara had 21 quarters in her bank . Her dad gave her 49 quarters . How many quarters does she have now ? | answer = 21 + 49
print(answer) | 70 | train | addsub |

Fred has 40 baseball cards . Keith bought 22 of Fred 's baseball cards . How many baseball cards does Fred have now ? | answer = 40 - 22
print(answer) | 18 | train | addsub |

Sara has 3 green and 5 red marbles . Tom has 4 green marbles . How many green marbles do they have in total ? | answer = 3 + 4
print(answer) | 7 | train | addsub |

Jenny ran 0.6 mile and walked 0.4 mile . How much farther did Jenny run than walk ? | answer = 0.6 - 0.4
print(answer) | 0.2 | train | addsub |

There are 2 maple trees and 5 popular trees currently in the park . Park workers will plant 9 maple trees today . How many maple trees will the park have when the workers are finished ? | answer = 2 + 9
print(answer) | 11 | train | addsub |

Sally has 9 orange balloons and 4 blue balloons . She lost 2 of the orange balloons . How many orange balloons does Sally have now ? | answer = 9 - 2
print(answer) | 7 | train | addsub |

Kenji and his classmates placed colored blocks on a scale during a science lab . The yellow block weighed 0.6 pounds and the green block weighed 0.4 pounds . How much more did the yellow block weigh than the green block ? | answer = 0.6 - 0.4
print(answer) | 0.2 | train | addsub |

Joan found 70 seashells on the beach . she gave Sam some of her seashells . She has 27 seashell . How many seashells did she give to Sam ? | answer = 70 - 27
print(answer) | 43 | train | addsub |

0.5 the students in the band are in the trumpet section . 0.125 the students in the band are in the trombone section . What fraction of the students in the band are in either the trumpet section or the trombone section ? | answer = 0.5 + 0.125
print(answer) | 0.625 | train | addsub |

There are 2 pencils in the drawer . Tim placed 3 pencils in the drawer . How many pencils are now there in total ? | answer = 2 + 3
print(answer) | 5 | train | addsub |

Tim has 44 books . Sam has 52 books . How many books do they have together ? | answer = 44 + 52
print(answer) | 96 | train | addsub |

Keith spent $ 6.51 on a rabbit toy , $ 5.79 on pet food , and a cage cost him $ 12.51 . He found a dollar bill on the ground . What was the total cost of Keith 's purchases ? | answer = 6.51 + 5.79 + 12.51
print(answer) | 24.81 | train | addsub |

Tom bought a skateboard for $ 9.46 , and spent $ 9.56 on marbles . Tom also spent $ 14.50 on shorts . In total , how much did Tom spend on toys ? | answer = 9.46 + 9.56
print(answer) | 19.02 | train | addsub |

Last year , egg producers in Douglas County produced 1416 eggs . This year , those same farms produced 4636 eggs . How many more eggs did the farms produce this year ? | answer = 4636.0 - 1416.0
print(answer) | 3220.0 | train | addsub |

Wendy ran 19.833333333333332 miles and walked 9.166666666666666 miles . How much farther did Wendy run than walk ? | answer = 19.833333333333332 - 9.166666666666666
print(answer) | 10.666666666666666 | train | addsub |

Sandy grew 8 carrots and 7 turnips . Mary grew 6 carrots . How many carrots did they grow in all ? | answer = 8 + 6
print(answer) | 14 | train | addsub |

Sam had 7 pennies and 8 dimes in his bank . His sister borrowed 4 dimes . How many dimes does Sam have now ? | answer = 8 - 4
print(answer) | 4 | train | addsub |

Jason went to the mall on Saturday to buy clothes . He spent $ 14.28 on shorts and $ 4.74 on a jacket . In total , how much money did Jason spend on clothing ? | answer = 14.28 + 4.74
print(answer) | 19.02 | train | addsub |

There are 3 short trees and 6 tall trees currently in the park . Park workers will plant 9 short trees today . How many short trees will the park have when the workers are finished ? | answer = 3 + 9
print(answer) | 12 | train | addsub |

A construction company is repaving a damaged road . So far , they have repaved a total of 4938 inches of the road . Today , they repaved 805 inches of the road . How many inches of the road had they repaved before today ? | answer = 4938.0 - 805.0
print(answer) | 4133.0 | train | addsub |

Joan found 6 seashells, and Jessica found 8 seashells on the beach . How many seashells did they find together ? | answer = 6 + 8
print(answer) | 14 | train | addsub |

A bucket contains 3 gallons of water . If Derek adds 6.8 gallons more , how many gallons will there be in all ? | answer = 3.0 + 6.8
print(answer) | 9.8 | train | addsub |

Jessica is baking a cake . The recipe calls for 8 cups of flour and 2 cups of sugar . She already put in 4 cups of flour . How many cups of flour does she need to add ? | answer = 8 - 4
print(answer) | 4 | train | addsub |

Mike found 6 seashells and 4 starfish , but 4 of the seashells were broken . How many unbroken seashells did Mike find ? | answer = 6 - 4
print(answer) | 2 | train | addsub |

A restaurant served 5 cakes during lunch, and 6 during dinner today . The restaurant served 3 cakes yesterday . How many cakes were served in total ? | answer = 5 + 6 + 3
print(answer) | 14 | train | addsub |

There are 7 crayons in the drawer . Mary took 3 crayons out of the drawer . How many crayons are there now ? | answer = 7 - 3
print(answer) | 4 | train | addsub |

Alec and his roommates ate 3.25 pints of ice cream on Friday night and 0.25 pint of ice cream on Saturday night . How many pints did they eat in all ? | answer = 3.25 + 0.25
print(answer) | 3.5 | train | addsub |

Melanie picked 4 plums , Dan picked 9 plums , and Sally picked 3 plums from the plum tree . How many plums were picked in total ? | answer = 4 + 9 + 3
print(answer) | 16 | train | addsub |

Tom has 30 violet balloons. He gave Fred 16 of the balloons . How many violet balloons does he now have ? | answer = 30 - 16
print(answer) | 14 | train | addsub |

Dan had 97 baseball cards , and 8 were torn . Sam bought 15 of Dan 's baseball cards . How many baseball cards does Dan have now ? | answer = 97 - 15
print(answer) | 82 | train | addsub |

There are 42 walnut trees and 12 orange trees currently in the park . Park workers had to cut down 13 walnut trees that were damaged . How many walnut trees will be in the park when the workers are finished ? | answer = 42 - 13
print(answer) | 29 | train | addsub |

Ella owns 2 dogs . Each day , 1 dog eats 0.125 scoop of dog food and the other dog eats 0.125 scoop . Together , how much dog food do the 2 dogs eat each day ? | answer = 0.125 + 0.125
print(answer) | 0.25 | train | addsub |

A restaurant made 9 hamburgers and 4 hot dogs to serve during lunch . Only 3 hamburgers were actually served . How many hamburgers were over ? | answer = 9 - 3
print(answer) | 6 | train | addsub |

Jonah added 0.3 cup of yellow raisins and 0.4 cup of black raisins to a batch of trail mix . How many cups of raisins did Jonah add in all ? | answer = 0.3 + 0.4
print(answer) | 0.7 | train | addsub |

Tom purchased a Batman game for $ 13.60 , and a Superman game for $ 5.06 . Tom already owns 2 games . How much did Tom spend on video games ? | answer = 13.60 + 5.06
print(answer) | 18.66 | train | addsub |

The Montoya family spends 0.6 their budget on groceries and another 0.2 going out to eat . Altogether , what fraction of their budget does the Montoya family spend on food ? | answer = 0.6 + 0.2
print(answer) | 0.8 | train | addsub |

There are 9 pencils and 4 rulers in the drawer . Sally took 4 pencils out of the drawer . How many pencils are there now ? | answer = 9 - 4
print(answer) | 5 | train | addsub |

Elizabeth went to the salon and had 0.375 inch of hair cut off . The next day she went back and asked for another 0.5 inch to be cut off . How much hair did she have cut off in all ? | answer = 0.375 + 0.5
print(answer) | 0.875 | train | addsub |

Fred has 5 yellow balloons , Sam has 6 yellow balloons , and Mary has 7 yellow balloons . The balloons cost 5 dollars . How many yellow balloons do they have in total ? | answer = 5 + 6 + 7
print(answer) | 18 | train | addsub |

Sara grew 4 onions , Sally grew 5 onions , and Fred grew 9 onions . How many onions did they grow in all ? | answer = 4 + 5 + 9
print(answer) | 18 | train | addsub |

A restaurant served 9 hot dogs during lunch and 2 during dinner today . It served 5 of them yesterday . How many hot dogs were served today ? | answer = 9 + 2
print(answer) | 11 | train | addsub |

Sam found 35 seashells on the beach. He gave Joan 18 of the seashells . How many seashells does he now have ? | answer = 35 - 18
print(answer) | 17 | train | addsub |

Before the recent housing boom , there were 1426 houses in Lawrence County . Now , there are 2000 houses . How many houses did developers build during the housing boom ? | answer = 2000.0 - 1426.0
print(answer) | 574.0 | train | addsub |

Bonnie 's science class recorded the rainfall each day . They recorded 0.16666666666666666 centimeter of rain on Monday , 0.4166666666666667 centimeter of rain on Tuesday , and 0.08333333333333333 centimeter of rain on Wednesday . How many centimeters of rain did the class record in all ? | answer = 0.16666666666666666 + 0.4166666666666667 + 0.08333333333333333
print(answer) | 0.6666666666666666 | train | addsub |

Joan bought toy cars for $ 14.88 , a skateboard for $ 4.88 , and got toy trucks for $ 5.86 . She spent $ 14.55 on pants . In total , how much did Joan spend on toys ? | answer = 14.88 + 4.88 + 5.86
print(answer) | 25.62 | train | addsub |

Sara picked 35 pears and 27 apples from the orchard . She gave 28 pears to Dan . How many pears does Sara have ? | answer = 35 - 28
print(answer) | 7 | train | addsub |

Milford Lake was originally blue because it only had 809 algae plants . Now there are 3263 algae plants , and the lake has turned green . How many more algae plants are in Milford Lake now ? | answer = 3263.0 - 809.0
print(answer) | 2454.0 | train | addsub |

Sally had 8 pennies and 7 nickels in her bank . Her dad gave her 9 nickels and her mother gave her 2 nickels . How many nickels does Sally have now ? | answer = 7 + 9 + 2
print(answer) | 18 | train | addsub |

Dan has 32 green and 38 violet marbles . Mike took 23 of Dan 's green marbles . How many green marbles does Dan now have ? | answer = 32 - 23
print(answer) | 9 | train | addsub |

While making pastries , a bakery used 0.2 bag of wheat flour and 0.1 bag of white flour . How many bags of flour did the bakery use in all ? | answer = 0.2 + 0.1
print(answer) | 0.3 | train | addsub |

A truck carrying 4.1 pounds of sand travels to a construction yard and loses 2.4 pounds of sand along the way . How much sand does the truck have when it arrives at the yard ? | answer = 4.1 - 2.4
print(answer) | 1.7 | train | addsub |

A restaurant served 7 slices of pie during lunch and 5 during dinner today . It served 8 of them yesterday . How many slices of pie were served today ? | answer = 7 + 5
print(answer) | 12 | train | addsub |

Jason had 49 quarters in his bank . His dad gave him 25 quarters . How many quarters does he have now ? | answer = 49 + 25
print(answer) | 74 | train | addsub |

Karin 's science class weighed plastic rings for an experiment . They found that the orange ring weighed 0.08333333333333333 ounce , the purple ring weighed 0.3333333333333333 ounce , and the white ring weighed 0.4166666666666667 ounce . What was the total weight of the plastic rings ? | answer = 0.08333333333333333 + 0.3333333333333333 + 0.4166666666666667
print(answer) | 0.8333333333333334 | train | addsub |

Alyssa 's cat had 8 kittens and 8 had spots . She gave 4 to her friends . How many kittens does she now have ? | answer = 8 - 4
print(answer) | 4 | train | addsub |

Kelly 's chemistry textbook weighs 7.125 pounds and her geometry textbook weighs 0.625 pound . How much more does the chemistry textbook weigh than the geometry textbook ? | answer = 7.125 - 0.625
print(answer) | 6.5 | train | addsub |

Sara picked 6 pears and Tim picked 5 pears from the pear tree . How many pears were picked in total ? | answer = 6 + 5
print(answer) | 11 | train | addsub |

At the beach , Janet and her sister both built sandcastles and then measured their heights . Janet 's sandcastle was 3.6666666666666665 feet tall and her sister 's was 2.3333333333333335 feet tall . How much taller was Janet 's sandcastle than her sister 's ? | answer = 3.6666666666666665 - 2.3333333333333335
print(answer) | 1.3333333333333333 | train | addsub |

A carpenter bought a piece of wood that was 0.41 meters long . Then she sawed 0.33 meters off the end . How long is the piece of wood now ? | answer = 0.41 - 0.33
print(answer) | 0.08 | train | addsub |

Mike went to 15 basketball games this year , but missed 41 . He went to 39 games last year . How many basketball games did Mike go to in total ? | answer = 15 + 39
print(answer) | 54 | train | addsub |

There are 41 pencils in the drawer . Mike placed 30 pencils in the drawer . How many pencils are now there in total ? | answer = 41 + 30
print(answer) | 71 | train | addsub |

Fred picked 36 limes , Alyssa picked 32 limes , and Nancy picked 35 limes and 18 pears , at the farm . How many limes were picked in total ? | answer = 36 + 32 + 35
print(answer) | 103 | train | addsub |

Vince 's bus ride to school is 0.625 mile and Zachary 's bus ride is 0.5 mile . How much longer is Vince 's bus ride than Zachary 's ? | answer = 0.625 - 0.5
print(answer) | 0.125 | train | addsub |

During a canned food drive , items were sorted into bins . The drive resulted in 0.125 bin of soup , 0.125 bin of vegetables , and 0.5 bin of pasta . Altogether , how many bins would the canned food take up ? | answer = 0.125 + 0.125 + 0.5
print(answer) | 0.75 | train | addsub |

Tom went to 4 hockey games this year , but missed 7 . He went to 9 games last year . How many hockey games did Tom go to in all ? | answer = 4 + 9
print(answer) | 13 | train | addsub |

Benny received 79 dollars and 9 movie tickets for his birthday . He went to a sporting goods store and bought a baseball glove , baseball , and bat . He had 32 dollars over , how much did he spent on the baseball gear ? | answer = 79 - 32
print(answer) | 47 | train | addsub |

Sandy grew 6 carrots . Sam grew 3 carrots . How many carrots did they grow in total ? | answer = 6 + 3
print(answer) | 9 | train | addsub |

Sandy had 36 pennies and 31 nickels in her bank . Her dad borrowed 20 nickels from Sandy . How many nickels does she have now ? | answer = 31 - 20
print(answer) | 11 | train | addsub |

A restaurant served 6 cakes during lunch and 9 during dinner today . How many cakes were served today ? | answer = 6 + 9
print(answer) | 15 | train | addsub |

There are 11 rulers and 34 crayons in the drawer . Tim placed 14 rulers in the drawer . How many rulers are now there in all ? | answer = 11 + 14
print(answer) | 25 | train | addsub |

Mike picked 8 pears and Jason picked 7 pears from the pear tree . Fred picked 6 apples from the apple tree . How many pears were picked in total ? | answer = 8 + 7
print(answer) | 15 | train | addsub |

Mary picked 14 oranges and Jason picked 41 oranges . Keith picked 38 apples . How many oranges were picked in all ? | answer = 14 + 41
print(answer) | 55 | train | addsub |

Karen added 0.25 cup of walnuts to a batch of trail mix . Later , she added 0.25 cup of almonds . How many cups of nuts did Karen put in the trail mix in all ? | answer = 0.25 + 0.25
print(answer) | 0.5 | train | addsub |

Tom found 7 seashells but 4 were broken . How many unbroken seashells did Tom find ? | answer = 7 - 4
print(answer) | 3 | train | addsub |

Joan has 9 blue balloons , Sally has 5 blue balloons , and Jessica has 2 blue balloons . How many blue balloons do they have in total ? | answer = 9 + 5 + 2
print(answer) | 16 | train | addsub |

Mike has 87 baseball cards . Sam bought 13 of Mike 's baseball cards . How many baseball cards does Mike have now ? | answer = 87 - 13
print(answer) | 74 | train | addsub |

Sandy has 10 books , Benny has 24 books , and Tim has 33 books . How many books do they have together ? | answer = 10 + 24 + 33
print(answer) | 67 | train | addsub |

Joan 's high school played 864 baseball games this year , 128 of the games were played at night . She attended 395 games . How many baseball games did Joan miss ? | answer = 864 - 395
print(answer) | 469 | train | addsub |

At the beach , Miki and her sister both built sandcastles and then measured their heights . Miki 's sandcastle was 0.8333333333333334 foot tall and her sister 's was 0.5 foot tall . How much taller was Miki 's sandcastle than her sister 's ? | answer = 0.8333333333333334 - 0.5
print(answer) | 0.3333333333333333 | train | addsub |

Tom found 5 seashells on the beach . he gave Jessica 2 of the seashells . How many seashells does he now have ? | answer = 5 - 2
print(answer) | 3 | train | addsub |

At the hardware store , 0.25 the nails are size 2d and 0.5 the nails are size 4d . What fraction of the nails are either size 2d or 4d ? | answer = 0.25 + 0.5
print(answer) | 0.75 | train | addsub |

Ezra drew a white line that was 7.666666666666667 inches long . Then he drew a blue line that was 3.3333333333333335 inches long . How much longer was the white line than the blue line ? | answer = 7.666666666666667 - 3.3333333333333335
print(answer) | 4.333333333333333 | train | addsub |

Jason has 7 violet balloons and 4 red balloons . He lost 3 of the violet balloons . How many violet balloons does Jason have now ? | answer = 7 - 3
print(answer) | 4 | train | addsub |

A carpenter bought a piece of wood that was 8.9 centimeters long . Then he sawed 2.3 centimeters off the end . How long is the piece of wood now ? | answer = 8.9 - 2.3
print(answer) | 6.6 | train | addsub |

On her vacation last summer , Trisha walked all over New York City to buy souvenirs . First , she walked 0.1111111111111111 mile from her hotel to a postcard shop . Then she walked 0.1111111111111111 mile from the postcard shop to a T-shirt shop and 0.6666666666666666 mile from the T-shirt shop back to the hotel . How many miles did Trisha walk in all ? | answer = 0.1111111111111111 + 0.1111111111111111 + 0.6666666666666666
print(answer) | 0.8888888888888888 | train | addsub |

Shannon and her family use up a lot of strawberry and blueberry jelly , since they eat toast every morning . At the moment , they have a combined total of 6310 grams of jelly . If they have 4518 grams of blueberry jelly , how many grams of strawberry jelly do they have ? | answer = 6310.0 - 4518.0
print(answer) | 1792.0 | train | addsub |

Jason found 49 seashells and 48 starfish on the beach . He gave 13 of the seashells to Tim . How many seashells does Jason now have ? | answer = 49 - 13
print(answer) | 36 | train | addsub |

Mike had 34 peaches at his roadside fruit dish . He went to the orchard and picked peaches to stock up . There are now 86 peaches . how many did he pick ? | answer = 86 - 34
print(answer) | 52 | train | addsub |

A petri dish originally contained 600 bacteria . A scientist let the bacteria grow and now there are 8917 of them . How many more bacteria are there now ? | answer = 8917.0 - 600.0
print(answer) | 8317.0 | train | addsub |

Sally had 760 quarters in her bank . She spent 418 of her quarters . How many quarters does she have now ? | answer = 760 - 418
print(answer) | 342 | train | addsub |

Joan has 10 books . Tom has 38 books . How many books do they have together ? | answer = 10 + 38
print(answer) | 48 | train | addsub |

End of preview. Expand
in Dataset Viewer.

# Lila: A Unified Benchmark for Mathematical Reasoning

**Homepage: https://lila.apps.allenai.org/****Repository: https://github.com/allenai/lila****Paper: https://aclanthology.org/2022.emnlp-main.392.pdf**

### Licensing Information

Creative Commons Attribution 4.0 International

### Citation Information

Cite this dataset and the source datasets (see sources.bib).

```
@INPROCEEDINGS{Mishra2022Lila,
author = {
Swaroop Mishra
and Matthew Finlayson
and Pan Lu
and Leonard Tang
and Sean Welleck
and Chitta Baral
and Tanmay Rajpurohit
and Oyvind Tafjord
and Ashish Sabharwal
and Peter Clark
and Ashwin Kalyan},
title = {Lila: A Unified Benchmark for Mathematical Reasoning},
booktitle = {Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
year = {2022}
}
```

- Downloads last month
- 1,794