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": "200" }
[ { "content": "Olivia is organizing a charity event and needs 1000 cans of soda. Each can contains 250 mL of soda. If she has 50 L of soda and wants to distribute it evenly among the cans, how many cans can she fill?\n\nUse the available execution tool to solve the problem. After receiving the tool result, retur...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308035:b47ddaa6f88b1810f4f8
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,035
[ { "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": "An amusement park sold 300 tickets. They made $4,500 from selling them. How much money did they make per ticket?\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:10308072:c55fd730bd14f67a3e17
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,072
[ { "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": "John has $500 in his bank account. If he spends $50 every day for 2 weeks, how much money will he have left in his account?\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:10308085:37edc8a8a55d2aa73ad5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,085
[ { "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": "Jessica has three times as many marbles as Jenny. Together, they have 120 marbles. How many marbles does Jenny 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" ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308092:cd7835550cbbff98aa85
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,092
[ { "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": "714" }
[ { "content": "Michael bought a computer for $1,200. He paid 15% down and his brother paid off an additional 30% of the remaining balance. How much money does Michael still owe on the computer?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308155:5bf44ba62dbc85130910
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,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": "16" }
[ { "content": "Ethan wants to buy a basketball that costs $12, a baseball glove that costs $9, and a soccer ball that costs $15. He has saved $20 from his allowance. How much more money does Ethan need to buy all three items?\n\nUse the available execution tool to solve the problem. After receiving the tool resu...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308159:673d4479276af68eb589
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,159
[ { "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": "A grocery store sells 6 dozen eggs in a week. Each customer buys 2 dozen eggs. How many customers bought eggs in 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{...} expression.", "role": "us...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308162:2a812a00fc7074b73c69
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,162
[ { "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": "23" }
[ { "content": "Sarah has 90 marbles that she wants to divide equally among her 6 friends. However, she realizes that there won't be enough marbles for everyone, so she decides to divide the marbles equally among her friends and then buys 4 more bags of marbles, each containing 12 marbles. How many marbles does e...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308190:395b5eab76a7097ed2ca
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,190
[ { "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 has 10 pencils and he gave 3 pencils to each of his friends. Later, he decided to buy 8 more pencils. How many pencils does John 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{...} expres...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308200:aea59b2d4429c2b5baed
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,200
[ { "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.6" }
[ { "content": "There are 6 girls and 4 boys in a class. If a student is chosen at random, what is the probability that it will be a girl?\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:10308236:e4bc20c8b61a96e0b5e2
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,236
[ { "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 shipping company uses three cargo ships for its business. The weight capacity of the first ship is 80 tons, and it carries 60% of the total cargo weight. The second ship carries 25% of the total weight, and the third ship carries the remaining cargo. If the total weight of the cargo is 120 tons,...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308264:17fa0cdeb29888079b39
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,264
[ { "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 farm, there are 40 cows and 12 horses. If 8 cows and 4 horses are sold, how many cows and horses 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": "user" }, ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308280:2c15ef4a8a61af48f6c9
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,280
[ { "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": "Alice wants to calculate her monthly electricity bill. The electricity company charges $0.15 per kilowatt-hour. If Alice used 500 kilowatt-hours this month, how much is her electricity bill?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308354:7ecdd5f5745a8e0adc74
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,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": "10" }
[ { "content": "John has 40 liters of water in a barrel with 25% water already added. How much water does he have to add to make it 50% of the total volume of the barrel?\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:10308419:27af30225de90b379ee9
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,419
[ { "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": "34" }
[ { "content": "Chris had an equal number of markers and colored pencils. If he had 72 colored pencils and gave 6 colored pencils and 5 markers to each of his ten friends and kept the rest for himself, how many markers and colored pencils did he have left?\n\nUse the available execution tool to solve the problem....
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308423:ab04df95b33c2c60d3d0
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,423
[ { "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.6" }
[ { "content": "Result: 8 A store sells apples for $0.75 each and oranges for $1.20 each. If Sarah buys 4 apples and 3 oranges, how much does she need to pay?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} express...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308426:e7b6fdcd891bd56219ee
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,426
[ { "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": "7000" }
[ { "content": "A toy store has sold 1000 toys. If the store earns $7 profit on each toy sold, how much money did the store earn 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": "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308499:1026a7b6a0cdabb05617
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,499
[ { "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": "A farmer picks 6 baskets of strawberries each day. Each basket contains 30 strawberries. After the first basket, 10 strawberries were sold. After the second basket, 15 strawberries were sold. After the third basket, 8 strawberries were sold. After the fourth basket, 12 strawberries were sold. Afte...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308541:0b145b31b0f46a970610
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,541
[ { "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": "17" }
[ { "content": "If x is 8 more than half of y, and y is 18, what is the value of x?\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": "", "role": "assistan...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308583:1897733b1f0cbaa0d86e
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,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": "50" }
[ { "content": "A box contains 80 marbles. If the ratio of red marbles to blue marbles is 3:5, how many blue marbles 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:10308595:b7f985d5fefe374fd5fd
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,595
[ { "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": "93" }
[ { "content": "Emma has been writing 2 pages of her novel every day for the past 7 days. If her novel is planned to have a total of 200 pages, how many more days does she need to write to finish her novel?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308596:6554370e44ba2c46145c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,596
[ { "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": "Jessica bought 5 dozen doughnuts for a team breakfast. If each doughnut costs $0.50, how much did Jessica spend 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": "u...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308628:5277c89425e205b62c6c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,628
[ { "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": "522" }
[ { "content": "John drives at an average speed of 60 miles per hour for 6 hours. If he decides to drive 10% slower for the next 3 hours, how many miles will he cover 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 \\...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308644:608fee5944784780de29
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,644
[ { "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": "120" }
[ { "content": "Mary has 12 pens. Each of her pens has twice as many ink cartridges as Sam's pens. If Sam's pens have 5 ink cartridges each, how many ink cartridges does Mary have?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly on...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308656:726ddd76855c43654070
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,656
[ { "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": "32" }
[ { "content": "There are 800 students in a school. If 40% of the students are in the science club and one-tenth of the science club members are also in the chess club, how many students are in both clubs?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the f...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308671:f8836f4d57c8c38ef153
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,671
[ { "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": "135" }
[ { "content": "If Jake buys 6 t-shirts for $10 each and 3 shorts for $25 each. How much money did he spend 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" }, { "c...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308687:43ddf4706b0cd0b60eea
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,687
[ { "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": "81" }
[ { "content": "Amy is planning a surprise party for her friend. She is ordering 5 pizzas, and each pizza costs $15. She also wants to buy 2 liters of soda, which costs $3 per liter. What is the total cost of the party?\n\nUse the available execution tool to solve the problem. After receiving the tool result, ret...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308703:c4d0ced2ec99282ec1f9
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,703
[ { "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": "A square has an area of 81 square inches. What is the length of one side of the square?\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:10308736:3fffb63c5d0ec76fbb64
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,736
[ { "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.6" }
[ { "content": "Lisa is calculating the time it will take for her to complete her homework. The base time required is 2 hours, but she estimates that it will take her an additional 30% of the base time due to the complexity of the problems. How long will it take Lisa to complete her homework in total?\n\nUse the ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308746:2ea7cb8005bcbe5dcb96
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,746
[ { "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.25" }
[ { "content": "Sarah can bake 40 cupcakes in 45 minutes. If she wants to bake 120 cupcakes, how many hours will it take her to complete the task?\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:10308752:1bb89abe620dc444ae38
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,752
[ { "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": "170" }
[ { "content": "A store sells 30 bags of chips every day. If they sell chips for 6 days a week but accidentally lose 10 bags, how many bags of chips do they sell overall?\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:10308754:6f64639cc8d80d267f10
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,754
[ { "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": "7000" }
[ { "content": "Jenny deposited $5000 in the bank account. She wants to save $12000 in total. How much more money does she need to save to reach her goal?\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:10308771:9e026747b15446d34e8e
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,771
[ { "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": "Lucas has five times as many toys as Mia. Mia has 6 toys. How many toys does Lucas 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:10308772:0e8bc0cae2727d820783
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,772
[ { "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 stack of books is 25 cm high. If each book is 2.5 cm thick, how many books are in the stack?\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:10308785:838ac38de23983efaa7f
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,785
[ { "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": "5" }
[ { "content": "Bill and his friend Jim went fishing. They caught 15 fish in total. Bill caught twice as many fish as Jim. How many fish did Jim catch?\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:10308796:96d16836ea9630b8ba80
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,796
[ { "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": "840" }
[ { "content": "A restaurant gets 12 orders for pizza every hour. If they are open for 10 hours a day, how many pizzas do they make in 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{...} expression.", "role...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308844:4ff16dde30140a553f04
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,844
[ { "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": "400" }
[ { "content": "Emily is organizing her closet and wants to hang her clothes. She has 100 hangers and each hanger can hold 4 pieces of clothing. How many pieces of clothing can Emily hang in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final ans...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308855:4b6192dd18beae4118a3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,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": "56" }
[ { "content": "Hannah wants to buy a pair of shoes that costs $80. However, she has a coupon that allows her to get 30% off only if she buys two pairs or more. If she convinces her friend to also buy the same shoes, what will be the final price per pair she pays?\n\nUse the available execution tool to solve the ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308873:6367ace11740c79adcec
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,873
[ { "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 purchased a total of 25 candies from the store. He already had 8 toffees and bought a bag containing 5 lollipops. How many chocolates does he need to buy to have 25 candies 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:10308885:a13f7800bdb17dcee1bf
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,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": "120" }
[ { "content": "A bakery produces 100 loaves of bread each day. The number of loaves produced each day is 150% of the number produced the day before, and the number produced the day after is 80% of the number produced on the current day. How many loaves are produced on the third day?\n\nUse the available executio...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10308976:42282037fc2fa90c20df
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,308,976
[ { "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 car travels 300 miles in 5 hours. What is the average speed of the car in miles per 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{...} expression.", "role": "user" }, { "content": "...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309006:43e33e27390e395bb815
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,006
[ { "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": "A garden is 15 feet long and 8.5 feet wide. If the owner wants to add a fence around the perimeter of the garden, how many feet of fencing will they 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{...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309060:52354eb4857fc9014986
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,060
[ { "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 rectangle has a length of 8 cm and a width of 5 cm. What is its area?\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": "", "role": "assi...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309063:55845fdb15c830cbeb78
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,063
[ { "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": "19000" }
[ { "content": "A pet store sold 20 dogs for $500 each and 30 cats for $300 each. How much money did the pet store 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.", "role": "user" }, { ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309111:809542f7709c65b861b1
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,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": "1000" }
[ { "content": "Megan wants to purchase a sofa and a dining table for her new apartment. The total price for both the items is $2500. She can pay $1500 now and use her credit card to pay the rest of the amount. How much will be her credit card bill?\n\nUse the available execution tool to solve the problem. After ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309126:f5a732632c6b21c2ae25
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,126
[ { "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": "207" }
[ { "content": "Tamika drove for 9 hours at an average speed of 55 miles per hour. Logan drove for 6 hours at 48 miles an hour. How many miles farther did Tamika drive?\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:10309150:5abca754d7036dd36516
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,150
[ { "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": "A shirt is on sale for 25% off. If the original price was $20, what is the sale 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" }, { "content": "", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309165:ca674efa62ecdd85b718
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,165
[ { "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 store sells packs of 6 oranges for $10. If a customer buys 4 packs and pays with a $50 bill, how much change will they 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.", "r...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309219:02cd477c2fde51b46d78
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,219
[ { "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": "Result: 15 Olivia has 12 stickers. She wants to give half of them to her friend. How many stickers will her friend get?\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": "use...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309245:210da33dc83321176fcf
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,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": "8" }
[ { "content": "Jack had 16 balloons for his birthday party. He gave away 5 balloons to his friends and then popped 3 balloons accidentally. How many balloons 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{.....
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309265:9d2ae67201568d8b1bbc
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,265
[ { "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": "2000" }
[ { "content": "Alex runs 4 miles a day, 5 days a week. He burns 100 calories per mile. How many calories does he burn in total per 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{...} expression.", "role": "u...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309304:9e19e2cedd23cfda5fcb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,304
[ { "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": "Mr. Scott bought 55 packages of hot dog buns, and each package contains 12 buns. If he has 4 classes with 25 students in each class, how many hot dog buns can each student get?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer a...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309337:1a0b6e312e36afc63718
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,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": "24" }
[ { "content": "In a video game, a player has 80 gold coins. If the player earns 5 gold coins every day, how many days will it take to get 200 gold coins?\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:10309341:15dfdb2088bcb8e744eb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,341
[ { "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 bakery sells cakes for $25 each and cookies for $5 per dozen. Sally bought 3 cakes and 2 dozen cookies. How much did she spend altogether?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} expressio...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309437:855943bb74d0bfaa9dfa
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,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": "36" }
[ { "content": "Lily reads 4 books per month. If Lucy reads 50% more books than Lily after 6 months, how many books will Lucy have 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": "us...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309482:ae55a8ed699155d9f06c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,482
[ { "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": "Result: 4.5 The price of a hamburger is 90% of the price of a cheeseburger, and a cheeseburger costs $5. How much does a hamburger 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.",...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309537:198fed07c8c40b84774e
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,537
[ { "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": "A rectangular field has a length that is double its width. If the field has a perimeter of 48 meters, what is the length of the field?\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:10309551:24b66a54d7746961f6cc
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,551
[ { "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": "5.1" }
[ { "content": "Emily bought a hat for $7.65 and a pair of sunglasses for $4.50. At the beach, she spent $10.75 on sunscreen and $6.50 on a beach towel. How much more money did Emily spend at the beach compared to buying accessories?\n\nUse the available execution tool to solve the problem. After receiving the to...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309576:8996d98ff9c742681122
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,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": "27" }
[ { "content": "In a garden, there are eighteen roses. If the number of roses is tripled and then divided by two, how many roses are there in the garden?\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:10309611:512882b52d6bf390e30d
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,611
[ { "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 tray can hold 24 cupcakes. If there are 96 cupcakes, how many trays are needed?\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": "", "ro...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309623:397b186fc065bc17eb94
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,623
[ { "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": "1800" }
[ { "content": "A room has dimensions of 10 feet by 12 feet. If the carpet cost is $15 per square foot, how much does it cost to carpet the room?\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.", "r...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309634:17a751e1d51e0c7c1c8c
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,634
[ { "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": "21.428571428571427" }
[ { "content": "Elle is taking a scenic route and drives 100 miles for 2 hours, then drives another 20 miles uphill for 2 more hours, and finally drives 30 miles downhill for 3 hours. What was her average speed for the entire trip?\n\nUse the available execution tool to solve the problem. After receiving the tool...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309649:42d3bf8c46be95a52fcf
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,649
[ { "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.080338266384778" }
[ { "content": "A bag contains 20 red marbles, 15 blue marbles, and 10 green marbles. If you randomly pick 3 marbles from the bag, what is the probability that all 3 marbles are red?\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:10309664:ea60be222f741ae21b02
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,664
[ { "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 box contains 60 marbles. If 40% of the marbles are red and 30% are blue, how many marbles are not red or blue?\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:10309682:d7530fb9a6676efb6dd3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,682
[ { "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": "The perimeter of a rectangle is twelve times the length of one side. If one side of the rectangle is 2 cm, what is the perimeter 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{...} exp...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309683:4365f5474d14a0e43c49
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,683
[ { "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 baseball team has 20 players. 30% of the players are pitchers, 40% are infielders, and the rest are outfielders. How many players are outfielders?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as exactly one \\boxed{...} e...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309693:a48970a1dbe8112f06af
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,693
[ { "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": "35" }
[ { "content": "Alex has three phone plans. Plan A has twice the data of Plan B, and Plan C has half the data of Plan B. If Plan B has 10 GB of data, what is the combined data of all three plans?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answe...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309708:895a4766f96018e8e0d5
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,708
[ { "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": "550" }
[ { "content": "There are 600 students in a school. Each day, 10 students transfer to another school, and 8 new students enroll. After 25 days, how many students 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 exac...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309716:26dd52117f335b9308d7
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,716
[ { "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": "In a toy store, 15% of the toys are action figures, and 80% of the action figures are boys. If there are 200 toys in total, how many action figure 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 ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309732:22534e88e9d790aab2b3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,732
[ { "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": "Tammy wants to buy a dress that costs $45. If she has $60, how much change will she 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" }, { "content": ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309737:602ceaa9ec5764c31152
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,737
[ { "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.5" }
[ { "content": "John expanded his garden by clearing out a 2-acre forest. However, 1/4 of the cleared land is rocky and unsuitable for planting. How many acres of land does John now have for his garden?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the fina...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309750:e3325d0d635e9bbe1153
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,750
[ { "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": "-55" }
[ { "content": "Max has 2 $20 bills, 4 $10 bills, and 6 $5 bills. Olivia has 5 $20 bills, 3 $10 bills, and 7 $5 bills. How much more money does Max have than Olivia?\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:10309755:e6c9dca2929abbb92564
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,755
[ { "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": "Alex is knitting a scarf. He uses 10 balls of yarn, 5 times as many knitting needles as yarn balls, and 3 more crochet hooks than knitting needles. If each row of the scarf requires one ball of yarn, one knitting needle, and one crochet hook, how many rows can Alex knit?\n\nUse the available execu...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309796:87ecb7de46ebeae5c299
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,796
[ { "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": "20" }
[ { "content": "Liam has 120 lollipops. He wants to distribute them equally among his 5 friends. If each friend can have 10 lollipops, how many lollipops will Liam 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 \\bo...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309827:be286271e122f91d4de4
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,827
[ { "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": "19" }
[ { "content": "Sophie has a collection of 5 different board games. For each board game, she has 7 copies. If Sophie wants to display her board games on a shelf with 6 rows and 9 spaces each, how many more board games can she fit on the shelf?\n\nUse the available execution tool to solve the problem. After receiv...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309830:4b9c3adbb8eeaea9dbfc
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,830
[ { "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": "35" }
[ { "content": "During a quiz, Lucas correctly answered seventy percent of the multiple-choice questions. If there were fifty multiple-choice questions in total, how many questions did Lucas answer correctly?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only th...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309884:d2a1cb2601e1774ad460
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,884
[ { "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": "Lucas is training for a swim meet. He swims for 1 hour, takes a 15-minute break, and then swims for another 30 minutes. How many minutes does Lucas spend swimming in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as ex...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10309965:739a742f45bee7aa471b
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,965
[ { "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": "Jake has twice as many marbles as Ty. If Ty has 15 marbles, how many marbles does Jake 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:10309976:f106f3ac8a5d5cb63770
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,309,976
[ { "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": "Olivia is organizing a school field trip and counted 70 students and 5 teachers attending. How many people will be on the field trip 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{...} express...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310018:fc789f1267ca0baad1d4
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,018
[ { "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": "5" }
[ { "content": "A group of friends bought some pizza for a party. Lisa ate 3 slices, Mark ate 1.5 slices, and Alyssa ate half a slice. Each pizza has 8 slices. How many slices of pizza did the friends eat in total?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return o...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310019:9a97d3dedfd1f1a4c95d
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,019
[ { "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 shopkeeper has 120 apples. He sells one-fourth of them in the morning and gives away half of what is left in the afternoon. How many apples does the shopkeeper have left?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return only the final answer as ex...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310023:7654403e94962a380656
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,023
[ { "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": "Liz has 14 apples. If she gives 3 apples to her friend and then another 4 apples to her sister, how many apples does she 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{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310029:2b6b5d8bfb24305f9792
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,029
[ { "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 recipe calls for 2 1/2 cups of flour. How many tablespoons of flour is this?\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": "", "role"...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310094:b3832f234df3bd25abbb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,094
[ { "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": "1200" }
[ { "content": "A truck can transport 800 boxes in 4 hours. How many boxes can it transport in 6 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{...} expression.", "role": "user" }, { "content": "", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310095:a3af1518bab9484e1757
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,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": "30" }
[ { "content": "Sophie is going on a road trip and she needs to fill up her car's gas tank. If her car's gas tank capacity is 12 gallons and gas costs $2.50 per gallon, how much will she spend to fill up her tank?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return on...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310096:84fafec01d78ae0c3816
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,096
[ { "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": "81" }
[ { "content": "David can ride his bike at a speed of 12 miles per hour. Rachel can ride her bike at a speed of 15 miles per hour. If they start in the same place and ride in opposite directions for 3 hours, how many miles apart do they end up?\n\nUse the available execution tool to solve the problem. After recei...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310136:0500a3f72097b2740323
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,136
[ { "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": "27" }
[ { "content": "Kevin has three times as many baseball cards as Sam. Mark has 12 more baseball cards than Sam. If Kevin has 45 baseball cards, how many baseball cards does Mark have?\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:10310139:79f20450f987a3455fde
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,139
[ { "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": "The perimeter of a square is 48 cm. What is the length of each side of the square?\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": "", "r...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310146:84594344d4c04e63a425
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,146
[ { "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": "19" }
[ { "content": "Olivia is hosting a party and wants to buy some snacks. She bought 3 bags of chips for $3 each and 5 packs of cookies for $2 each. How much did she spend 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...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310180:ed06572512008fda00a3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,180
[ { "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": "90000" }
[ { "content": "A music festival sells 2-day passes for $100 each. On the first day of sales, they sell 300 tickets. On the second day of sales, they sell twice as many tickets as they did on the first day. How much money did the festival make in total from the ticket sales?\n\nUse the available execution tool to...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310183:7f0a3a5916d5e1b82bb8
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,183
[ { "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": "20" }
[ { "content": "Jack has 70 toy cars. He decides to sell half of his cars and then gives 15 cars to his little brother. How many toy cars does Jack 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{...} express...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310212:f9e44aa49f7a6ac82d18
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,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": "52.5" }
[ { "content": "A pair of shoes that normally costs $50 is now sold at a discount of $15. A shirt was sold at a discount of 25% of its original price of $30. How much will you save via discounts if you buy 2 pairs of shoes and 3 shirts?\n\nUse the available execution tool to solve the problem. After receiving the...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310246:3bfebb99cce162f522d1
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,246
[ { "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": "92" }
[ { "content": "Olivia has crates that she uses to store fruits. Each crate can hold 6 more fruits than four times the amount of fruits a small basket can hold. If she has 2 crates and a basket can hold 10 fruits, how many fruits can she store?\n\nUse the available execution tool to solve the problem. After recei...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310288:1896c1a68085df7326bb
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,288
[ { "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": "155" }
[ { "content": "Maria charges $10 for a haircut and $15 for hair coloring. If she gives 8 haircuts and 5 hair colorings, how much money does she 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:10310289:664da452a29c72bfe974
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,289
[ { "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": "Lisa went to the grocery store to buy oranges. The store sells them for $0.75 each. She spent $7.50. How many oranges did she buy?\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:10310294:47256977cb461be6196f
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,294
[ { "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": "1000" }
[ { "content": "A company made a profit of $500 on Monday, $700 on Friday, and lost $200 on Wednesday. What was the total profit or loss for the 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{...} expression.", ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310298:a255dca183641e7e9fb4
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,298
[ { "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": "25" }
[ { "content": "Lily wants to save money for her college tuition. She needs $50,000 for tuition. She earns $5000 per month and can save 40% of her salary each month. How long will it take before she can afford her tuition?\n\nUse the available execution tool to solve the problem. After receiving the tool result, ...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310316:389aed99f6570bbee953
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,316
[ { "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": "In a class of 30 students, 40% of them scored an A in Math while 70% of them passed English. If there are 5 students who passed in both subjects, how many students got lower than C in both subjects?\n\nUse the available execution tool to solve the problem. After receiving the tool result, return o...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310319:22aba2dc2c63ab54b735
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,319
[ { "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": "36" }
[ { "content": "Sarah has baked 3 dozen cookies for a party. Each dozen contains 12 cookies. How many cookies does she have 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:10310369:09e12d92db632da113d3
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,369
[ { "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": "20" }
[ { "content": "Maria is organizing a party and needs to buy snacks. She purchased 4 bags of chips for $2 each, 3 packs of cookies for $3 each, and 2 bottles of soda for $1.50 each. How much did Maria spend in total on snacks?\n\nUse the available execution tool to solve the problem. After receiving the tool resu...
TinyGSM/TinyGSM
TinyGSM/TinyGSM:10310373:594fea344ccccaf50b74
5049a7840fa546985eaae4c698d5daf6fdf7b47d
10,310,373
[ { "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...