admission_status
stringclasses
1 value
execution
dict
messages
listlengths
4
4
source
stringclasses
1 value
source_id
stringlengths
38
45
source_revision
stringclasses
1 value
source_row_index
int64
9
10.6M
tools
listlengths
1
1
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "50" }
[ { "content": "Mrs. Smith buys 20 pens and 25 pencils for her class. The cost of a pen is $1.50 and the cost of a pencil is $0.80. How much does Mrs. Smith pay in total for the pens and pencils?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224757:ea5b0f3a830f03114a88
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,757
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "132" }
[ { "content": "In a school assembly, there are 352 students. The ratio of boys to girls is 3:5. How many boys are there?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224800:23f3ee675564198ef1bc
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,800
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "600" }
[ { "content": "Peter's paycheck was $800. After tax deductions of 25%, how much money did Peter actually receive?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "cont...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224828:14f1ba4b3e532ddfe8ed
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,828
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "50" }
[ { "content": "Mark collects stamps. He bought five stamp albums. In each album, he arranged ten pages. How many total pages are there in Mark's stamp collection?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} ex...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224838:13aebfbf868455cd65c6
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,838
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "64" }
[ { "content": "Jack works part-time at a bookstore and earns $8 per hour. He can only work for 6 hours a day, 4 days a week. If he wants to save 1/3 of his weekly earnings, how much does he save?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224850:43dc6a2ab4283cd3ccb5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,850
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "17500" }
[ { "content": "Emily took out a loan of $50,000 to start her business. She paid 30% down and her investors paid off 50% of the remaining balance. How much money does Emily still owe on her loan?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224883:b883d7e98250116e5522
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,883
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "800" }
[ { "content": "A bakery sells 100 loaves of bread every day. On weekends, they make 150 loaves per day. How many loaves of bread do they make in a week assuming 7-day weeks?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\bo...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224885:be3b29bf739e57443082
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,885
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "200" }
[ { "content": "A company decided to give bonuses to their employees as a reward for their hard work. If the total bonus amount is $5000 and there are 25 employees, how much is each employee's bonus?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final a...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224928:cd30d095edc0133aeb76
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,928
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "16" }
[ { "content": "Emma is making cookies for a party. Each recipe calls for 2/3 cup of sugar. If Emma wants to make 24 cookies, how many cups of sugar does she need?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} ex...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10224981:8de91b641407cda5e634
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,224,981
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "9" }
[ { "content": "The local bakery sells muffins for $1.50 each and cupcakes for $2.25 each. If you buy 3 muffins and 2 cupcakes, how much will you spend?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.",...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225016:8cdd7a4118c6d3c8a47a
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,016
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "56.25" }
[ { "content": "A person earns $11.25 an hour at her job. If she works for 5 hours, how much money would she earn before taxes?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225104:0ebe749a1236764aa6ed
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,104
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "130" }
[ { "content": "Alex earned 10 cents for each sunflower he collected in his mom's garden. If he collected 8 sunflowers from the flower bed and 5 sunflowers from the vegetable patch, how much money did Alex earn in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, re...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225140:4703a39bce373f2fce3b
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,140
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "75" }
[ { "content": "A factory produced 15000 screws in a day. Each carton can hold 200 screws. How many cartons will be needed to pack all the screws?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225155:b58cb2299f3b0dd93088
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,155
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "70" }
[ { "content": "Benjamin wants to save $1000 for a new laptop in 8 weeks. He saved $80 in the first week and plans to save $10 less than the previous week's savings. How much will he save in the second week?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225170:2c22b2db25dff85110a0
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,170
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "6" }
[ { "content": "Mike bought 4 yards of fabric from the store. Each yard of fabric can make 3 pillowcases. If Mike needs 2 pillowcases for each bed in his house, how many beds can he make pillowcases for?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the fin...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225212:834803b9e1721543210f
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,212
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "80" }
[ { "content": "A family wants to renovate their living room. They measured the room and found out that the length is 10 meters and the width is 8 meters. What is the area of their living room in square meters?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225238:b11153fed3fe0323c6c5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,238
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "750" }
[ { "content": "Mark wants to buy a new phone that costs $1000. He has a coupon that gives him a 25% discount. What is the final price Mark will pay for the phone?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} ex...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225243:c639c63ae375c9bf0df0
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,243
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "47" }
[ { "content": "John has $100. He went to a restaurant and ordered 2 burgers at $15 each, 3 sodas at $5 each, and a dessert at $8. What is his remaining balance?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expr...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225245:193e065b18605234ae57
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,245
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "3.5" }
[ { "content": "Jennifer goes for a 30-minute run every morning before school. If she continues this routine for 7 days, how many hours does she spend running in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{.....
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225279:027a464c11f0a3de1e01
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,279
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "2400" }
[ { "content": "A plane starts at an altitude of 1000 feet and descends at a rate of 200 feet per minute for 5 minutes. It then climbs at a rate of 300 feet per minute for 8 minutes. What is its final altitude in feet?\n\nUse the available execution tool to solve the problem. After receiving the tool result, retu...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225312:997746d8127d5addced3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,312
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "90" }
[ { "content": "Mike is organizing a book drive and plans to collect books from three different schools. School A donates 120 books, School B donates 90 books, and the remaining books are donated by School C. If Mike plans to collect a total of 300 books, how many books does he collect from School C?\n\nUse the a...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225314:95cdb6f39f0375b11826
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,314
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "10" }
[ { "content": "Samantha wants to make some lemonade for a summer party. She has 20 lemons and each glass of lemonade requires squeezing the juice of 2 lemons. How many glasses of lemonade can she make?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the fina...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225337:cad8c30d7ad9ab528869
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,337
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "0.375" }
[ { "content": "A cake recipe calls for 3/4 cups of sugar. If Lisa wants to make half of the recipe, how many cups of sugar does she need?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225346:790384952a94480a03d3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,346
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "18" }
[ { "content": "On a hike, Zoe walked 10 miles in 2 hours while Hannah walked 6 miles in 1.5 hours. If they both walked at the same pace, how many miles would Hannah walk in 4.5 hours?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactl...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225353:b6a19c6037307aa51250
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,353
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "850" }
[ { "content": "A store sells 1000 shirts. If 15% of the shirts are returned by customers, how many shirts are left to sell?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, {...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225433:f77abcfe94020b15b551
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,433
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "266" }
[ { "content": "Sarah is going on a trip and needs to buy new luggage. She wants to buy 2 large suitcases and 1 small suitcase. The large suitcases cost $150.00 each and the small suitcase costs $80.00. The store is currently offering a 30% discount. How much will Sarah spend on the luggage?\n\nUse the available ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225447:6d474da6f940eedf6d67
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,447
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "54" }
[ { "content": "A gardening store sells plants in groups of 6 for $18. If Emma wants to buy 18 plants, how much will she spend?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225449:507b130da778354922ca
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,449
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "4.5" }
[ { "content": "A train leaves the station at 1 pm and travels at an average speed of 50 miles per hour. Another train leaves the same station at 2 pm and travels at an average speed of 70 miles per hour. At what time will the second train catch up to the first train?\n\nUse the available execution tool to solve ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225452:2489e06fb23d1bed01aa
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,452
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "11" }
[ { "content": "Jack has 4 less marbles than Lily. Lily has triple the number of marbles as Oliver. If Oliver has 5 marbles, how many marbles does Jack have?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expressi...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225519:d36f54d7faabbd1438f5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,519
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "60" }
[ { "content": "Lisa bought 5 books from a bookstore that offered a 20% discount on all books. The regular price for each book is $15. How much did Lisa pay for the books?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225577:d48b7b8cfada31456056
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,577
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "780" }
[ { "content": "Sarah decides to buy a new book for each week of the year. If each book costs $15, how much do her books cost?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225609:ce9bed0990b62c8f63b1
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,609
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "10" }
[ { "content": "A tank has a capacity of 500 liters. It is being filled with water at a rate of 50 liters per minute. How many minutes will it take to fill the tank completely?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225727:c1f4f4d3e99d14665930
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,727
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "2.5" }
[ { "content": "A recipe calls for 5 cups of flour to make 36 muffins. If Maya wants to make only 18 muffins, how much flour will she need?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225766:c36b6238f040c288fede
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,766
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "192" }
[ { "content": "Noah is a farmer who has harvested 7200 apples so far. For every 150 apples, he inspects them for quality. If each inspection rejects four apples, how many apples has he rejected so far?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the fina...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225852:4573a8509e8a90910a89
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,852
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "720" }
[ { "content": "Mr. Adams has 240 pens. He bought an extra number of pens that is double the number of pens he already has. How many pens does he have now?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225874:83a1a71089b2e0043c9c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,874
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "4" }
[ { "content": "A car travels at a speed of 60 miles per hour. How long does it take to travel 240 miles?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "content": "",...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225892:76c66d80cd8d0b07fcf5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,892
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "18" }
[ { "content": "A class has 30 students. If 2/5 of the students are boys and the rest are girls, how many girls are in the class?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225897:17f0ec9b2f14d164c940
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,897
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "3" }
[ { "content": "result = 3 Alice and Bob are playing a dice game. Alice is winning by 10 points, but then Bob scores 15 points. Alice then scores 8 more points. How many points is Alice ahead now?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225926:553c3386804c802888cd
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,926
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "350" }
[ { "content": "A family went on a road trip and traveled 200 miles in 4 hours. If they continued traveling at the same speed, how many miles can they cover in 7 hours?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{.....
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225930:f5eaf7e1905cf2dc6808
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,930
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "70" }
[ { "content": "A car rental service charges $20 plus $0.50 per mile to rent a car. If Sarah rents a car and drives 100 miles, how much will it cost her?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression."...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225946:c11af9aff751e0316850
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,946
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "196" }
[ { "content": "Susie has to finish reading a book of 372 pages. She has read 176 pages. How many pages does she have left to read?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225958:fac2ca887a94d0e61d1c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,958
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "24.583333333333332" }
[ { "content": "Alex wants to heat up a frozen pizza. He needs to raise the temperature of the pizza from -20 degrees to 200 degrees and then let it cool down to 150 degrees. If the pizza heats at 12 degrees/minute and cools at 8 degrees/minute, how long will it take for the pizza to be done?\n\nUse the available...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225966:5ef67db979daea5b977d
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,966
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "18" }
[ { "content": "John has a pizza restaurant and he sells a 16-slice pizza for $20. If a customer orders a 8-slice pizza for $12 and then orders another 4-slice pizza, how much money will John make from the sale?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225980:1e0c7a8905df66515c8e
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,980
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "37" }
[ { "content": "Rachel has 3 boxes of crayons, each containing 24 crayons. She uses 5 crayons every day for a week. How many crayons does she have left after a week?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225986:df1fd62febed2d1a775c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,986
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "0.4" }
[ { "content": "A box contains 24 red marbles and 36 blue marbles. What is the ratio of red marbles to total marbles in the box?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" },...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10225993:f6522e4df39b2757d989
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,225,993
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "210" }
[ { "content": "A factory has 150 workers and 120 technicians. If 40 workers and 20 technicians are laid off, how many workers and technicians are still employed?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} exp...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226016:49909f5a2db914fd7bd3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,016
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "86" }
[ { "content": "If Emma has 2 more candies than Sophia and Olivia has 7 more candies than Emma, how many candies do they have together if Sophia has 25 candies?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expre...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226024:d17247871c33b0ad84d9
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,024
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "40" }
[ { "content": "Emma scored 85% in her French exam. If she answered 34 questions correctly, how many questions were there in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226030:bb28c84f11d02c79b30b
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,030
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "4" }
[ { "content": "Sarah and Ethan are driving to a city. Sarah can drive at a speed of 80 kilometers per hour, while Ethan drives at half the speed of Sarah. If Sarah can reach the city in 4 hours, how long does it take Ethan to cover half the distance?\n\nUse the available execution tool to solve the problem. Afte...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226036:745c36f02ed621edae8d
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,036
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "5900" }
[ { "content": "Rachel borrowed $5000 from a bank at a 6% annual interest rate. If she has to pay back the loan amount along with the interest after 3 years, how much money will she have to pay in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the fin...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226078:52fd72f3d05293e0e716
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,078
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "18.75" }
[ { "content": "A rectangle is 3 times as long as it is wide. The perimeter of the rectangle is 20 ft. What is the area of the rectangle?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "u...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226080:c6e58b255a23637cb73f
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,080
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "4800" }
[ { "content": "A car factory can assemble 400 cars in a day. Each car requires 4 doors. How many doors are needed to assemble 1200 cars?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "u...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226095:cd7753305530ed541fa5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,095
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "24" }
[ { "content": "A bag of oranges has 30 oranges in it. If you eat 6 oranges, how many oranges are left in the bag?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "cont...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226101:d68af33af8adb9e1858f
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,101
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "300000" }
[ { "content": "A company has a sales target of $10,000 per day. John consistently exceeds this target by 20%. If the company employs John for 25 days in a month, how much sales revenue does John generate for the company in that month?\n\nUse the available execution tool to solve the problem. After receiving the ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226111:fea832e8d5667038cc86
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,111
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "12" }
[ { "content": "John bought 2 packs of pencils, with each pack containing 10 pencils. He also bought 6 individual pencils. Each pack of pencils cost $3 and each individual pencil cost $1. How much did John spend in all?\n\nUse the available execution tool to solve the problem. After receiving the tool result, ret...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226130:58f5764e87a98cbb1f77
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,130
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "672" }
[ { "content": "A mobile phone has a price tag of $600 before tax. If tax is 12% of the price, what is the total cost including tax?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226142:1012a2245f67e04e18e5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,142
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "10" }
[ { "content": "A construction worker needs to transport 100 bricks to a location. He can carry 10 bricks at a time. How many trips does he need to make?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression."...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226143:449afa39bb6a52844246
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,143
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "28" }
[ { "content": "Brian has twice as many apples as Emily. Emily has 4 fewer apples than David, who has 12 apples. How many apples do Brian and David have?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression."...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226170:5a874fc078a69f45b2ac
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,170
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "2" }
[ { "content": "If it takes 6 minutes to fill a swimming pool with a hose, and 3 hoses are being used at the same time, how many minutes will it take to fill the pool?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{......
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226178:d13e16025e35a2203494
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,178
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "15.75" }
[ { "content": "Meghan is picking up coffee for her team. She needs 2 cups of latte that are each $3.50, 1 cup of double shot espresso that costs $4.00, and 1 cup of cappuccino that costs $4.75. How much is the coffee order?\n\nUse the available execution tool to solve the problem. After receiving the tool result...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226184:4ee86966796895b40ee5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,184
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "52" }
[ { "content": "A garden has 4 rows of flowers. Each row has 15 flowers. If 2 flowers in each row are picked, how many flowers are left?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "us...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226295:b50db3386bd64b7cb898
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,295
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "467" }
[ { "content": "David worked 50 hours in one week. His hourly pay rate is $12. From his weekly earnings, 18% is deducted as tax, 3% is deducted as insurance cover, and $7 is deducted for union dues. How much money, in dollars, does David take home after deductions?\n\nUse the available execution tool to solve the...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226299:ae2c48a2fa51d806ff38
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,299
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "39" }
[ { "content": "A school has 60 students, out of which 35% are girls. How many boys are there in the school?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "content": ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226307:10232ce9eb618a92fb1a
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,307
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "24" }
[ { "content": "Tim has a bag of 80 pencils. If he gives away 40% of the pencils to his classmates and then splits the remaining pencils equally between himself and his best friend, how many pencils does each person receive?\n\nUse the available execution tool to solve the problem. After receiving the tool result...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226309:d828d0d83e9634a6f485
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,309
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "6" }
[ { "content": "A street has 8 houses, and each house has 4 clotheslines. The clotheslines are currently holding a total of 96 items of clothing. If each clothesline can hold twice as many clothes, how many clothes can each clothesline hold now?\n\nUse the available execution tool to solve the problem. After rece...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226322:3b0af2948a413cb763cd
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,322
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "40" }
[ { "content": "In a bakery, there are 12 chocolate cupcakes. There are 4 more vanilla cupcakes than chocolate cupcakes, and the number of strawberry cupcakes is half the number of chocolate cupcakes. If 1 chocolate cupcake, 3 vanilla cupcakes, and 2 strawberry cupcakes are added to the bakery, how many cupcakes ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226327:21f1b84c01a2fbdd1fcb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,327
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "24" }
[ { "content": "A classroom has four times as many students as the number of teachers. If there are 6 teachers, how many students are in the classroom?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226342:334b1c1569bffbef1670
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,342
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "56" }
[ { "content": "A shoe store offers a discount of 30% on all shoes. If a pair of shoes originally costs $80, what is the discounted price?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226354:192dc6386f1ab70f9aeb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,354
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "85" }
[ { "content": "A movie ticket costs $20 and a soda costs $5 less. If Juan buys 2 movie tickets and 3 sodas, what is the total cost of his purchase?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226363:5466d26f6bd3640b77c8
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,363
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "3500" }
[ { "content": "John's salary is 30% less than double what he earned last week. If he earned $500 last week, how much will his salary be in 5 weeks?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226371:b806ea5bbc2f943950bd
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,371
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "112.5" }
[ { "content": "A store has 150 apples. If each apple costs $0.75, how much money is needed to buy all the apples?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "cont...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226424:50e601a47ecf89b84da8
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,424
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "45" }
[ { "content": "A supermarket has 200 apples. If 30% of the apples are green, and 75% of the green apples are ripe, how many ripe green apples are there in the supermarket?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226437:6bf1d87832dcb58944e2
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,437
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "127.50000000000001" }
[ { "content": "Anna buys a bicycle for $200. She also purchases a helmet that costs $25 more than the bicycle. If insurance covers 70% of the total cost, how much did Anna pay?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226445:b65808b477a777419695
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,445
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "70.58823529411765" }
[ { "content": "Sarah had 85 stickers. She gave 4/17 of the stickers to her sister and then lost 5 stickers. What percentage of the stickers does Sarah have left?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} exp...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226447:db6a063013d4661aee62
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,447
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "200" }
[ { "content": "Laura earns $20 per hour serving tables. She works for 5 hours every weekday and uses 40% of her earning for savings. How much money does she save each week?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\box...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226460:a36d04bbfbdacbca83de
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,460
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "85" }
[ { "content": "Jenny has $65. If she spends $20 on food, and her friend gives her $40, how much money does she have now?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226463:38885f0abc39eed5cee1
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,463
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "125" }
[ { "content": "A bakery starts the day with 200 freshly baked cookies. 60 cookies are sold and 30 more cookies are baked. After that, 45 cookies are sold. How many cookies are left in the bakery now?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226471:7e1a2ede5be64ab5ae18
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,471
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "7.5" }
[ { "content": "A recipe calls for 3 cups of sugar to make 24 cookies. If you want to make 60 cookies, how many cups of sugar do you need?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226500:1f0e33275eaaa521c677
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,500
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "8.333333333333334" }
[ { "content": "Jenna wants to save $5,000 for her wedding, which is in 2 years. She can save $200 each month. How much additional money does she need to save per month to reach her goal in time?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226502:33935d6c4da61415f220
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,502
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "375" }
[ { "content": "Mike decides to sell 75% of his video games. He bought them for $50 each and sells them for $60 each. If he had 50 video games, how much more money did he have compared to before he bought them?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226557:32218fd97c2db67627a5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,557
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "28000" }
[ { "content": "Sarah leaves a tap running at a rate of 2 liters/minute. The water tank she is filling has a leak and loses water at a rate of 500 ml/hour. If she fills the tank for 15 minutes and the tank loses 2 liters of water due to the leak, how many milliliters of water are left in the tank?\n\nUse the avai...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226576:bed8cd0069391b033e66
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,576
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "850" }
[ { "content": "A store offers a 15% discount on all items. If the original price of a laptop is $1000, what is the discounted price?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user"...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226583:250da44ea1be0f30bfe6
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,583
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "30" }
[ { "content": "A rectangular box has a length of 5 inches, a width of 3 inches, and a height of 2 inches. What is the volume of the box in cubic inches?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression."...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226586:215e80e65daf7b8cd7f8
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,586
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "70" }
[ { "content": "Jennifer bought three books, two notebooks, and a pack of pens. The pack of pens was three times more expensive than each book, and each notebook was 50% cheaper than a book. If each book cost $10, how much did Jennifer pay for all her shopping?\n\nUse the available execution tool to solve the pro...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226589:edb124b36cdab0d2acb3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,589
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "12" }
[ { "content": "Tom can complete a puzzle in 20 minutes. If he increases his puzzle-solving speed by a factor of 4, how many puzzles could he complete in 1 hour?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expr...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226602:553a0f4e573fb23d7eb7
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,602
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "80" }
[ { "content": "A store is having a sale. All items are 20% off. If a coat normally costs $100, how much will it cost during the sale?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226672:1807e8b939a43a036088
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,672
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "1.75" }
[ { "content": "Emma drove 15 miles to work, 12 miles to the gym, and 8 miles to the library. How many gallons of gas did she use for the entire trip if one gallon can be used to drive 20 miles?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226722:6794627db930dee298f1
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,722
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "22.95" }
[ { "content": "Olivia has 18 candies. Liam has half the number of candies as Olivia. They mix all their candies together and then Olivia gives away 15% of the candies. How many candies are left?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226753:ae7655d6788c2be517a5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,753
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "8" }
[ { "content": "Sarah goes grocery shopping and buys 4 bags of apples. Each bag costs $3. If she pays with a $20 bill, how much change will Sarah receive?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression....
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226770:7bffa6b1415b1d7340b2
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,770
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "15" }
[ { "content": "Result: 9 pounds Sam spends 1/3 of his allowance on video games, 1/4 on books and puts the rest in the bank. If his allowance is $36, how much money does he have left?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226780:024e9aa1b17461433b95
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,780
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "30" }
[ { "content": "Result: Jack A store has a sale where everything is 25% off. If a shirt originally cost $40, how much does it cost during the sale?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226788:d42e4f1fa969df2381b5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,788
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "7" }
[ { "content": "Jamie is a teacher. He wants to distribute 42 pencils equally among his 6 students. How many pencils will each student receive?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "rol...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226802:b1edfaf2486daf105504
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,802
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "40" }
[ { "content": "A fruit vendor has 320 oranges. If she wants to pack them into bags of 8 oranges each, how many bags will she need?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226822:101c05a0f44289c6daa5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,822
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "41" }
[ { "content": "Andrew picked three buckets of strawberries. Each bucket contains twelve strawberries, and there were five additional strawberries in his hand. How many strawberries did Andrew pick in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226855:2872288faee9f636c0f4
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,855
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "24" }
[ { "content": "Jane has twice as many pencils as Sue. If Sue has 12 pencils, how many pencils does Jane have?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "content"...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226861:793295e5412b10d3a5fe
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,861
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "9" }
[ { "content": "John can run for 5 minutes without stopping, but his coach wants him to run an additional four-fifths of what he can already run. How long does John need to run in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exac...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226863:a1493b09888a9ae026cc
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,863
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "263.6363636363636" }
[ { "content": "A dieter lost 45% of his weight and now weighs 145 kg. What was his original weight?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "content": "", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226888:101976388325ea8d1ad4
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,888
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "8" }
[ { "content": "Sara's sister has 10 small notebooks in her closet. Last week she ordered 3 more notebooks and then gave away 5. How many notebooks does Sara's sister have now?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226908:efc188627ed769fb1053
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,908
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "60" }
[ { "content": "A company has 150 employees. If 60% of employees are women, how many men work in the company?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expression.", "role": "user" }, { "content":...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226922:e7c50e668f72930aa387
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,922
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...
semantic_verified
{ "entrypoint": "solve", "language": "python", "result": "600" }
[ { "content": "Lily is wrapping a birthday present that is in the shape of a rectangular prism. The width of the present is 5 inches and the height is 8 inches. The length is 3 times the width. What is the volume of the present?\n\nUse the available execution tool to solve the problem. After receiving the tool r...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10226970:a9386fa426234d275a8c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,226,970
[ { "function": { "description": "Execute a restricted Python arithmetic program and return the value from solve().", "name": "execute_python", "parameters": { "properties": { "program": { "description": "A self-contained restricted Python arithmetic program definin...