system
stringclasses
1 value
instruction
stringlengths
224
341
output
stringlengths
136
1.56k
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils. Each pack contains 6 pencils. She gave 4 pencils to her friend and then bought 2 more packs of pencils with 5 pencils in each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Sarah bought 3 packs of pencils, and each pack contains 6 pencils. Number of pencils in the first purchase: 3 packs × 6 pencils/pack = 18 pencils 2. She gave 4 pencils to her friend. Number of pencils left after giving away: 18 pencils - 4 pencils = 14 pencils 3. She then bought 2 more packs of pencils, each pack with 5 pencils. Number of pencils in the second purchase: 2 packs × 5 pencils/pack = 10 pencils 4. Total pencils Sarah has now: 14 pencils (after giving away) + 10 pencils (second purchase) = 24 pencils #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Mike has 48 marbles. He divides them equally among his 4 friends. Each friend gives him 3 marbles back. How many marbles does Mike have in total now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break it down step by step: 1. Mike starts with 48 marbles. 2. He divides them equally among his 4 friends. - 48 marbles ÷ 4 friends = 12 marbles per friend. 3. That means he gives away all 48 marbles to his friends (12 marbles to each of the 4 friends). 4. Now, each friend gives him 3 marbles back. - 4 friends × 3 marbles each = 12 marbles given back to Mike. 5. So, after giving all his marbles away and then receiving some back, Mike has 12 marbles. #### 12
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 80 apples. He sold 25 apples at the market and then divided the remaining apples equally into 11 baskets. How many apples are in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, the farmer harvested 80 apples in total. He sold 25 apples at the market. So, subtract the sold apples from the total: 80 - 25 = 55 apples remaining. He then divided the remaining apples equally into 11 baskets: 55 ÷ 11 = 5 apples per basket. #### 5
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Jenny baked 24 cookies. She put them into boxes of 6 cookies each. She gave 2 boxes to her friends and then baked 12 more cookies. How many cookies does Jenny have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Jenny baked 24 cookies. 2. She put them into boxes of 6 cookies each. Number of boxes = 24 ÷ 6 = 4 boxes. 3. She gave 2 boxes to her friends. Cookies given away = 2 × 6 = 12 cookies. 4. After giving away the cookies: Cookies left = 24 - 12 = 12 cookies. 5. She then baked 12 more cookies. Total cookies now = 12 + 12 = 24 cookies. So, Jenny has 24 cookies left. #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom read 18 pages of a book each day for 5 days. He then skipped reading for 2 days, and finally read 12 more pages. How many pages did Tom read in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's find out how many pages Tom read in the first 5 days: He read 18 pages each day for 5 days: 18 pages/day × 5 days = 90 pages Next, Tom skipped reading for 2 days, so he read 0 pages during those days. After that, he read 12 more pages. Now, let's add up all the pages: Pages read in first 5 days: 90 pages Pages read after skipping: 12 pages Total pages read = 90 + 12 = 102 #### 102
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils, and each pack contains 8 pencils. She gave 7 pencils to her friend and then bought 2 more packs with 6 pencils each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break the problem down step by step: 1. Sarah bought 3 packs of pencils, each with 8 pencils. Number of pencils = 3 packs × 8 pencils/pack = 24 pencils 2. She gave 7 pencils to her friend. Number of pencils left = 24 - 7 = 17 pencils 3. She then bought 2 more packs, each with 6 pencils. Number of pencils in new packs = 2 packs × 6 pencils/pack = 12 pencils 4. Total pencils Sarah has now = pencils left after giving away + new pencils bought Total = 17 + 12 = 29 pencils #### 29
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa read 15 pages of her book on Monday and 18 pages on Tuesday. On Wednesday, she read twice as many pages as she did on Monday. How many pages did Lisa read in total over the three days? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's find out how many pages Lisa read on Wednesday. She read twice as many pages as she did on Monday. On Monday, she read 15 pages. So, on Wednesday: 15 × 2 = 30 pages. Now, let's add up the pages she read over the three days: Monday: 15 pages Tuesday: 18 pages Wednesday: 30 pages Total pages = 15 + 18 + 30 = 63 #### 63
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom has 45 marbles. He gives 12 marbles to his friend and then buys 18 more. If he wants to split all his marbles equally into 3 jars, how many marbles will each jar have? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Tom starts with 45 marbles. 2. He gives 12 marbles to his friend: 45 - 12 = 33 marbles left. 3. He then buys 18 more marbles: 33 + 18 = 51 marbles. 4. He wants to split all his marbles equally into 3 jars: 51 ÷ 3 = 17 marbles in each jar. #### 17
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 24 apples. She gives 7 apples to her friend and then buys 15 more apples. She decides to split all her apples equally into 4 baskets. How many apples are in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah starts with 24 apples. 2. She gives 7 apples to her friend: 24 - 7 = 17 apples left. 3. She buys 15 more apples: 17 + 15 = 32 apples now. 4. She splits all her apples equally into 4 baskets: 32 ÷ 4 = 8 apples per basket. #### 8
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom earned $50 for mowing lawns. He spent $18 on a book and $12 on lunch. He then divided the remaining money equally with his brother. How much money did each of them get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Tom earned $50. He spent $18 on a book: $50 - $18 = $32 left. He spent $12 on lunch: $32 - $12 = $20 left. He divided the remaining $20 equally with his brother: $20 ÷ 2 = $10. #### 10
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 24 cookies and divided them equally among 4 boxes. Later, he baked 16 more cookies and put them into the boxes so that each box received the same amount. How many cookies are in each box now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The baker made 24 cookies and divided them equally among 4 boxes. - 24 cookies ÷ 4 boxes = 6 cookies per box. 2. Later, he baked 16 more cookies and put them into the boxes equally. - 16 cookies ÷ 4 boxes = 4 cookies per box. 3. Now, each box has: - 6 cookies (from the first batch) + 4 cookies (from the second batch) = 10 cookies per box. #### 10
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 36 pencils. Lisa removes 9 pencils and then buys 18 more pencils to add to the box. She wants to share all the pencils equally among 5 friends. How many pencils does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The box starts with 36 pencils. 2. Lisa removes 9 pencils: 36 - 9 = 27 pencils remain. 3. She buys 18 more pencils and adds them to the box: 27 + 18 = 45 pencils in total. 4. She wants to share all the pencils equally among 5 friends: 45 ÷ 5 = 9. So, each friend gets: #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer picked 36 apples and put them equally into 6 baskets. He then picked 18 more apples and added 3 apples to each basket. How many apples are in each basket now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve step by step: 1. The farmer picked 36 apples and put them equally into 6 baskets. - Number of apples per basket = 36 ÷ 6 = 6 apples per basket. 2. He then picked 18 more apples. 3. He added 3 apples to each basket. Since there are 6 baskets: - 3 apples × 6 baskets = 18 apples (which matches the additional apples he picked). 4. So, each basket now has: - Original apples per basket = 6 - Added apples per basket = 3 - Total apples per basket = 6 + 3 = 9 #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Mark collected 48 stamps. He gave 16 stamps to his cousin and then bought 20 more stamps. If he wants to organize all his stamps into albums with 8 stamps in each, how many albums does he need? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Mark started with 48 stamps. 2. He gave 16 stamps to his cousin. 48 - 16 = 32 stamps left. 3. He then bought 20 more stamps. 32 + 20 = 52 stamps now. 4. He wants to organize them into albums, each holding 8 stamps. 5. To find the number of albums needed, divide the total number of stamps by the number of stamps per album: 52 ÷ 8 = 6.5 6. Since he can't have half an album, he needs 7 albums to fit all the stamps. #### 7
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Jenny had 60 marbles. She lost 15 marbles and then won 25 more in a game. She wants to put the marbles into bags with 10 marbles in each. How many bags will she fill? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Jenny started with 60 marbles. 2. She lost 15 marbles, so now she has: 60 - 15 = 45 marbles 3. She then won 25 more marbles, so now she has: 45 + 25 = 70 marbles 4. She wants to put the marbles into bags with 10 marbles in each bag. 5. To find out how many bags she can fill: 70 ÷ 10 = 7 bags #### 7
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah buys 3 packs of pencils with 8 pencils in each pack. She gives 7 pencils to her friend and then buys 2 more packs of 5 pencils each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's calculate how many pencils Sarah buys initially: She buys 3 packs with 8 pencils in each pack. 3 packs × 8 pencils/pack = 24 pencils She gives 7 pencils to her friend: 24 pencils - 7 pencils = 17 pencils Then, she buys 2 more packs, each with 5 pencils: 2 packs × 5 pencils/pack = 10 pencils Now, add these 10 pencils to the 17 pencils she has left: 17 pencils + 10 pencils = 27 pencils #### 27
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Mark read 15 pages of a book each day for 4 days. Then he lost 10 pages of notes and found 8 more pages later. How many pages does Mark have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Mark read 15 pages each day for 4 days. 15 pages/day × 4 days = 60 pages 2. He lost 10 pages of notes. 60 pages - 10 pages = 50 pages 3. He found 8 more pages later. 50 pages + 8 pages = 58 pages So, the number of pages Mark has now is: #### 58
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 24 cupcakes and put them equally into 6 boxes. Later, he sold 3 boxes and baked 12 more cupcakes. How many cupcakes does the baker have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The baker made 24 cupcakes and put them equally into 6 boxes. - Number of cupcakes per box = 24 ÷ 6 = 4 cupcakes per box. 2. He sold 3 boxes. - Number of cupcakes in 3 boxes = 3 × 4 = 12 cupcakes. 3. Cupcakes left after selling 3 boxes = 24 (original) - 12 (sold) = 12 cupcakes. 4. He baked 12 more cupcakes. - Total cupcakes now = 12 (left) + 12 (baked) = 24 cupcakes. So, the baker has 24 cupcakes left. #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils, each containing 8 pencils. She gave 5 pencils to her friend and then bought 2 more packs with 6 pencils each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah bought 3 packs of pencils, each containing 8 pencils: 3 packs × 8 pencils/pack = 24 pencils 2. She gave 5 pencils to her friend: 24 pencils - 5 pencils = 19 pencils 3. She then bought 2 more packs with 6 pencils each: 2 packs × 6 pencils/pack = 12 pencils 4. Add the new pencils to her current total: 19 pencils + 12 pencils = 31 pencils #### 31
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily had $50. She bought 3 notebooks for $6 each and a pen for $4. How much money does Emily have left after her purchases? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's find out how much Emily spent on the notebooks. Each notebook costs $6, and she bought 3 notebooks: 3 notebooks × $6 per notebook = $18 Next, she bought a pen for $4. Now, add the cost of the notebooks and the pen: $18 (notebooks) + $4 (pen) = $22 Emily started with $50. Subtract the total spent from her starting amount: $50 - $22 = $28 So, Emily has $28 left after her purchases. #### 28
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 24 cupcakes and put them into boxes of 6. He sold 2 boxes and then baked 12 more cupcakes. How many cupcakes does he have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The baker made 24 cupcakes. 2. He put them into boxes of 6. So, the number of boxes = 24 ÷ 6 = 4 boxes. 3. He sold 2 boxes. Each box has 6 cupcakes, so 2 × 6 = 12 cupcakes sold. 4. Number of cupcakes left after selling = 24 - 12 = 12 cupcakes. 5. He then baked 12 more cupcakes. So, total cupcakes now = 12 + 12 = 24 cupcakes. So, the baker has 24 cupcakes left. #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 120 apples and divided them equally into 4 baskets. He gave 2 baskets to his neighbor and then picked 30 more apples. How many apples does the farmer have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The farmer harvested 120 apples. 2. He divided them equally into 4 baskets. 120 apples ÷ 4 baskets = 30 apples per basket. 3. He gave 2 baskets to his neighbor. 2 baskets × 30 apples per basket = 60 apples given away. 4. Apples left after giving away: 120 apples - 60 apples = 60 apples. 5. He then picked 30 more apples. 60 apples + 30 apples = 90 apples. #### 90
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom saved $15 each week for 4 weeks. He spent $20 on a game and then earned $10 mowing the lawn. How much money does Tom have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break it down step by step: 1. Tom saves $15 each week for 4 weeks. Amount saved = $15 × 4 = $60 2. Tom spends $20 on a game. Money left after spending = $60 - $20 = $40 3. Tom then earns $10 mowing the lawn. Final amount = $40 + $10 = $50 #### 50
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa read 12 pages of a book every day for 5 days. She lost 8 pages of her notes and then wrote 10 new pages. How many pages does Lisa have in total now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate how many pages Lisa read in total over 5 days: 12 pages/day × 5 days = 60 pages Next, she lost 8 pages of her notes: 60 pages - 8 pages = 52 pages Then, she wrote 10 new pages: 52 pages + 10 pages = 62 pages So, the total number of pages Lisa has now is: #### 62
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 5 packs of pencils, and each pack contains 8 pencils. She gave 12 pencils to her friends and then bought 2 more packs. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break it down step by step: 1. Sarah bought 5 packs of pencils, and each pack contains 8 pencils. 5 packs × 8 pencils per pack = 40 pencils 2. She gave 12 pencils to her friends. 40 pencils - 12 pencils = 28 pencils 3. Then she bought 2 more packs. 2 packs × 8 pencils per pack = 16 pencils 4. Add the new pencils to what she has left. 28 pencils + 16 pencils = 44 pencils #### 44
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker baked 36 cookies and divided them equally among 4 trays. After selling 15 cookies, he baked 18 more. How many cookies does he have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem: 1. The baker baked 36 cookies. 2. He divided them equally among 4 trays. (This just tells us they were equally distributed, but doesn't change the total number.) 3. He sold 15 cookies. - After selling: 36 - 15 = 21 cookies left. 4. He baked 18 more cookies. - New total: 21 + 18 = 39 cookies. So, the baker now has 39 cookies. #### 39
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 48 apples and divided them equally into 4 baskets. He gave away 2 baskets and then picked 16 more apples. How many apples does he have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The farmer harvested 48 apples. 2. He divided the 48 apples equally into 4 baskets. - 48 apples ÷ 4 baskets = 12 apples per basket. 3. He gave away 2 baskets. - Each basket has 12 apples, so 2 baskets have 2 × 12 = 24 apples. - Apples remaining = 48 apples - 24 apples = 24 apples. 4. He then picked 16 more apples. - Apples now = 24 apples + 16 apples = 40 apples. #### 40
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom has $50. He buys 3 books that cost $8 each and then spends $6 on lunch. How much money does Tom have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Tom starts with $50. 2. He buys 3 books, each costing $8. - Total cost for books = 3 × $8 = $24. 3. He also spends $6 on lunch. 4. Total spent = $24 (books) + $6 (lunch) = $30. 5. Money left = $50 (starting amount) - $30 (total spent) = $20. #### 20
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa collected 48 stamps. She gave 16 to her friend and then bought 3 more sets of 5 stamps each. How many stamps does Lisa have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Lisa started with 48 stamps. She gave 16 stamps to her friend: 48 - 16 = 32 stamps left. She bought 3 more sets of 5 stamps each: 3 × 5 = 15 new stamps. Add these new stamps to what she had left: 32 + 15 = 47 stamps. #### 47
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils, and each pack contains 8 pencils. She gave 7 pencils to her friend and then bought 2 more packs of pencils with 6 pencils in each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah bought 3 packs of pencils, and each pack contains 8 pencils. Number of pencils in the first purchase = 3 × 8 = 24 2. She gave 7 pencils to her friend. Pencils left after giving away = 24 - 7 = 17 3. She then bought 2 more packs of pencils, with 6 pencils in each pack. Number of pencils in the second purchase = 2 × 6 = 12 4. Total pencils Sarah has now = Pencils after giving away + New pencils bought Total pencils = 17 + 12 = 29 #### 29
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Jake has 24 marbles. He gives 8 marbles to his friend and then buys 3 more packs of marbles, each containing 5 marbles. How many marbles does Jake have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Jake starts with 24 marbles. He gives 8 marbles to his friend: 24 - 8 = 16 marbles left. He then buys 3 more packs, each containing 5 marbles: 3 × 5 = 15 marbles. He adds these to his remaining marbles: 16 + 15 = 31 marbles. #### 31
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A bookstore sold 15 books on Monday and 12 books on Tuesday. On Wednesday, it sold twice as many books as on Monday. After that, 10 books were returned. How many books did the bookstore sell in total after the return? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The bookstore sold 15 books on Monday. 2. On Tuesday, it sold 12 books. 3. On Wednesday, it sold twice as many as on Monday: Twice of 15 = 2 × 15 = 30 books. 4. Total books sold before returns: 15 (Monday) + 12 (Tuesday) + 30 (Wednesday) = 57 books. 5. 10 books were returned: 57 - 10 = 47 books. #### 47
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily earned $15 babysitting. She spent $6 on lunch and then earned $12 more mowing lawns. If she splits her remaining money equally between herself and her brother, how much does each get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's calculate how much money Emily had after each transaction: 1. Emily earned $15 from babysitting. 2. She spent $6 on lunch: $15 - $6 = $9 left. 3. She earned $12 more mowing lawns: $9 + $12 = $21. Now, Emily splits her remaining $21 equally between herself and her brother: $21 ÷ 2 = $10.50 Each gets $10.50. #### 10.50
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A class collected 48 cans for a food drive. They divided the cans equally into 6 boxes. Later, they added 2 more cans to each box. How many cans are there in total now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, the class collected 48 cans. They divided the cans equally into 6 boxes: 48 cans ÷ 6 boxes = 8 cans per box. Then, they added 2 more cans to each box: 8 cans + 2 cans = 10 cans per box. There are 6 boxes, so the total number of cans now is: 10 cans/box × 6 boxes = 60 cans. #### 60
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 24 students in a class. The teacher divides them into 6 equal groups. If 2 students from each group leave, how many students remain in the class? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Step 1: There are 24 students in the class. Step 2: The teacher divides them into 6 equal groups. Number of students in each group = 24 / 6 = 4 Step 3: 2 students from each group leave. Number of students leaving from each group = 2 Number of groups = 6 Total students leaving = 2 × 6 = 12 Step 4: Number of students remaining = 24 - 12 = 12 #### 12
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 24 pencils. Mike buys 3 boxes and gives 10 pencils to his classmates. How many pencils does Mike have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, determine how many pencils are in 3 boxes: 24 pencils/box × 3 boxes = 72 pencils Next, subtract the number of pencils Mike gives to his classmates: 72 pencils − 10 pencils = 62 pencils #### 62
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom has 36 apples. He divides them equally among 4 baskets. He eats 3 apples from each basket. How many apples does Tom have left in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Tom has 36 apples. 2. He divides them equally among 4 baskets. 36 apples ÷ 4 baskets = 9 apples per basket. 3. He eats 3 apples from each basket. 3 apples × 4 baskets = 12 apples eaten. 4. Subtract the apples eaten from the total apples: 36 apples - 12 apples = 24 apples left. So, the number of apples Tom has left in total is: #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 4 packs of markers, and each pack contains 6 markers. She gave 5 markers to her friend and then bought 2 more packs. How many markers does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah bought 4 packs of markers, and each pack contains 6 markers. - Total markers from the first purchase: 4 packs × 6 markers/pack = 24 markers. 2. She gave 5 markers to her friend. - Markers left after giving away: 24 markers - 5 markers = 19 markers. 3. She then bought 2 more packs. - Additional markers bought: 2 packs × 6 markers/pack = 12 markers. 4. Total markers Sarah has now: 19 markers (after giving away) + 12 markers (new packs) = 31 markers. #### 31
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily collects 8 stickers every week for 5 weeks. She gives 10 stickers to her friend and then buys 12 more. How many stickers does she have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Emily collects 8 stickers every week for 5 weeks. - Total stickers collected = 8 stickers/week × 5 weeks = 40 stickers 2. She gives 10 stickers to her friend. - Stickers left = 40 - 10 = 30 stickers 3. She buys 12 more stickers. - Stickers now = 30 + 12 = 42 stickers So, the total number of stickers Emily has now is: #### 42
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah had 24 apples. She gave 6 apples to her friend and then bought 10 more apples. She decided to divide all her apples equally among 4 baskets. How many apples are in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Sarah started with 24 apples. She gave 6 apples to her friend: 24 - 6 = 18 apples left. She then bought 10 more apples: 18 + 10 = 28 apples now. She wants to divide these apples equally among 4 baskets: 28 ÷ 4 = 7 apples in each basket. #### 7
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 36 candies. Tom eats 8 candies and then shares the remaining candies equally among 7 friends. How many candies does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. The box contains 36 candies initially. 2. Tom eats 8 candies: 36 - 8 = 28 candies remain. 3. These 28 candies are shared equally among 7 friends: 28 ÷ 7 = 4 candies per friend. #### 4
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Mike saves $15 each week for 4 weeks. He spends $18 on a book and then divides the remaining money equally among 3 friends. How much does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Mike saves $15 each week for 4 weeks. Total savings = $15 × 4 = $60 2. He spends $18 on a book. Money left after buying the book = $60 - $18 = $42 3. He divides the remaining $42 equally among 3 friends. Each friend gets = $42 ÷ 3 = $14 #### 14
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 45 students in a class. 12 students go on a field trip, and the rest are divided equally into 5 groups. How many students are in each group? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Step 1: Start with the total number of students in the class, which is 45. Step 2: Subtract the number of students who go on a field trip: 45 - 12 = 33 students remain. Step 3: These 33 students are divided equally into 5 groups. Step 4: Divide 33 by 5: 33 ÷ 5 = 6.6 So, each group has 6.6 students. #### 6.6
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lily read 15 pages every day for 7 days. She skipped reading for 2 days and then read 20 extra pages on the last day. How many pages did Lily read in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Lily read 15 pages every day for 7 days: 15 pages/day × 7 days = 105 pages 2. She skipped reading for 2 days. Since she didn't read on those days, we don't add anything for those days. 3. On the last day, she read 20 extra pages: So, on the last day, she read 15 pages (as usual) + 20 extra pages = 35 pages But the problem says she read for 7 days, then skipped 2 days, then read extra pages on the last day. That means she read for 7 days, had 2 days off, and then on the 10th day, she read the extra pages. So total pages read: - 7 days × 15 pages = 105 pages - On the last day: 35 pages Total = 105 + 35 = 140 pages #### 140
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils, and each pack contains 12 pencils. She gave 8 pencils to her friend and then bought 2 more packs with 10 pencils each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah bought 3 packs of pencils, each with 12 pencils: 3 packs × 12 pencils/pack = 36 pencils 2. She gave 8 pencils to her friend: 36 pencils - 8 pencils = 28 pencils 3. She bought 2 more packs, each with 10 pencils: 2 packs × 10 pencils/pack = 20 pencils 4. Add these 20 pencils to the 28 pencils she had left: 28 pencils + 20 pencils = 48 pencils So, the number of pencils Sarah has now is: #### 48
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 60 cookies. He sold 18 cookies and then packed the rest into boxes of 7 cookies each. How many full boxes did he make, and how many cookies were left over? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's find out how many cookies are left after the baker sold 18 cookies: 60 (total cookies) - 18 (sold) = 42 cookies left Next, we need to see how many full boxes of 7 cookies can be packed from the 42 cookies: 42 ÷ 7 = 6 So, 6 full boxes can be made. Now, let's check if there are any cookies left over: 42 mod 7 = 0 So, there are 0 cookies left over. #### 6 full boxes, 0 cookies left over
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 56 students in a grade. If they are divided equally into 7 groups for a science project, how many students are in each group? If 2 groups combine, how many students are in the combined group? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, we need to find out how many students are in each group if 56 students are divided equally into 7 groups: 56 ÷ 7 = 8 students per group. Next, if 2 groups combine, we multiply the number of students in one group by 2: 8 × 2 = 16 students in the combined group. #### 16
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 24 cupcakes in the morning and 36 more in the afternoon. He sold 15 cupcakes to one customer and 18 to another. If each remaining cupcake is packed into boxes of 9, how many boxes does he need? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. The baker made 24 cupcakes in the morning and 36 in the afternoon. Total cupcakes made = 24 + 36 = 60 2. He sold 15 cupcakes to one customer and 18 to another. Total cupcakes sold = 15 + 18 = 33 3. Number of cupcakes remaining = Total made - Total sold = 60 - 33 = 27 4. Each box holds 9 cupcakes. Number of boxes needed = 27 ÷ 9 = 3 #### 3
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa had $50. She spent $18 on a book and $12 on a shirt. If she earned $20 by doing chores, how much money does Lisa have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Lisa started with $50. She spent $18 on a book: $50 - $18 = $32 She spent $12 on a shirt: $32 - $12 = $20 She earned $20 by doing chores: $20 + $20 = $40 #### 40
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 120 apples from his orchard. He sold 45 apples at the market and divided the remaining apples equally among 5 baskets. How many apples are in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, the farmer harvested 120 apples in total. Next, he sold 45 apples at the market. To find out how many apples are left, subtract the sold apples from the total: 120 - 45 = 75 apples remaining. These 75 apples are divided equally among 5 baskets. To find out how many apples are in each basket, divide the remaining apples by the number of baskets: 75 ÷ 5 = 15 #### 15
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 120 apples. He put them into baskets holding 8 apples each. He gave 3 baskets to his neighbor and kept the rest. How many apples did the farmer keep for himself? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, the farmer harvested 120 apples. Next, he puts them into baskets that hold 8 apples each: 120 apples ÷ 8 apples per basket = 15 baskets He gave 3 baskets to his neighbor: 3 baskets × 8 apples per basket = 24 apples So, the apples he gave away = 24 apples. To find out how many apples he kept: 120 apples (total) - 24 apples (gave away) = 96 apples #### 96
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 48 cookies. She put them into boxes of 6 cookies each. If she gave away 3 boxes, how many cookies does she have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, the baker made 48 cookies. She puts them into boxes of 6 cookies each. Number of boxes = 48 ÷ 6 = 8 boxes. She gave away 3 boxes. Number of boxes left = 8 - 3 = 5 boxes. Each box has 6 cookies, so cookies left = 5 × 6 = 30 cookies. #### 30
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emma read 15 pages of her book each day for 4 days. Then she skipped reading for 2 days, and after that, she read 10 more pages. How many pages did Emma read in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, Emma read 15 pages each day for 4 days: 15 pages/day × 4 days = 60 pages Then, she skipped reading for 2 days, so she read 0 pages on those days. After that, she read 10 more pages. Total pages read = (pages in first 4 days) + (pages after skipping days) Total pages read = 60 + 10 = 70 #### 70
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Liam has 36 marbles. He gives 9 marbles to his friend and then divides the rest equally among 3 jars. How many marbles are in each jar? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Liam starts with 36 marbles. 2. He gives 9 marbles to his friend. 36 - 9 = 27 marbles left. 3. He then divides the 27 marbles equally among 3 jars. 27 ÷ 3 = 9 marbles in each jar. #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 5 boxes of pencils. Each box contains 12 pencils. She gives 14 pencils to her friend and then buys 18 more pencils. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Sarah has 5 boxes of pencils. Each box contains 12 pencils. Number of pencils in total = 5 × 12 = 60 2. She gives 14 pencils to her friend. Pencils left = 60 - 14 = 46 3. She buys 18 more pencils. Pencils now = 46 + 18 = 64 #### 64
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of pencils. Each pack contains 8 pencils. She gave 5 pencils to her friend and then bought 2 more packs of 4 pencils each. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Sarah bought 3 packs of pencils, each containing 8 pencils. - 3 packs × 8 pencils/pack = 24 pencils 2. She gave 5 pencils to her friend. - 24 pencils - 5 pencils = 19 pencils 3. She then bought 2 more packs, each containing 4 pencils. - 2 packs × 4 pencils/pack = 8 pencils 4. Add the new pencils to the remaining pencils. - 19 pencils + 8 pencils = 27 pencils So, Sarah has 27 pencils now. #### 27
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 120 apples. He sold 45 apples at the market, then divided the remaining apples equally into 5 baskets. How many apples are in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Step 1: The farmer harvested 120 apples in total. Step 2: He sold 45 apples at the market. So, subtract the sold apples from the total: 120 - 45 = 75 apples remaining. Step 3: He divides the remaining 75 apples equally into 5 baskets: 75 ÷ 5 = 15 apples per basket. #### 15
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Jacob bought 3 packs of markers with 8 markers in each pack. He lost 5 markers and then bought 7 more. How many markers does Jacob have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate how many markers Jacob got from the packs: 3 packs × 8 markers per pack = 24 markers Then, he lost 5 markers: 24 markers - 5 markers = 19 markers After that, he bought 7 more markers: 19 markers + 7 markers = 26 markers #### 26
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom collected 48 marbles. He divided them equally among 4 friends. Later, each friend gave him back 3 marbles. How many marbles does Tom have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Tom collected 48 marbles. 2. He divided them equally among 4 friends. - Number of marbles each friend got: 48 ÷ 4 = 12 marbles. - So Tom gave away all his marbles: 48 - 48 = 0 marbles left with Tom. 3. Later, each friend gave him back 3 marbles. - Number of friends = 4. - Each gives back 3 marbles: 4 × 3 = 12 marbles. 4. So, Tom now has 12 marbles. #### 12
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily baked 36 cookies and put them into bags of 6 cookies each. She gave away 2 bags of cookies to her neighbors and then baked 12 more cookies. How many cookies does she have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Emily baked 36 cookies. 2. She put them into bags of 6 cookies each. - Number of bags = 36 ÷ 6 = 6 bags. 3. She gave away 2 bags of cookies to her neighbors. - Cookies given away = 2 bags × 6 cookies per bag = 12 cookies. 4. Number of cookies left after giving away = 36 - 12 = 24 cookies. 5. Then she baked 12 more cookies. - Total cookies now = 24 + 12 = 36 cookies. #### 36
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 60 apples from one tree and 45 apples from another tree. He sold 50 apples at the market and then picked 30 more apples. How many apples does the farmer have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The farmer harvested 60 apples from one tree. 2. He harvested 45 apples from another tree. - Total apples after harvesting from both trees: 60 + 45 = 105 apples. 3. He sold 50 apples at the market. - Apples left after selling: 105 - 50 = 55 apples. 4. He picked 30 more apples. - Apples after picking more: 55 + 30 = 85 apples. So, the farmer has: #### 85
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: David has 36 marbles. He splits them equally among 4 friends. Then, he finds 8 more marbles and gives 2 marbles to each friend. How many marbles does each friend have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. David has 36 marbles. 2. He splits them equally among 4 friends. - 36 marbles ÷ 4 friends = 9 marbles per friend. 3. He then finds 8 more marbles. 4. He gives 2 marbles to each friend. - 4 friends × 2 marbles each = 8 marbles (which matches the 8 new marbles he found). - Each friend receives 2 more marbles. So each friend originally had 9 marbles and then receives 2 more: - 9 + 2 = 11 marbles per friend. #### 11
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa read 20 pages of her book each day for 5 days. She then skipped reading for 2 days and read 15 pages on the seventh day. How many pages did she read in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's calculate how many pages Lisa read in the first 5 days: She read 20 pages each day for 5 days. 20 pages/day × 5 days = 100 pages Next, she skipped reading for 2 days, so she read 0 pages on those days. On the seventh day, she read 15 pages. Now, let's add up all the pages she read: Pages in first 5 days: 100 Pages on seventh day: 15 Total pages read = 100 + 15 = 115 #### 115
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A bakery made 48 cupcakes in the morning. They sold 15 cupcakes before noon and then baked 24 more cupcakes in the afternoon. If they sold 22 cupcakes in the evening, how many cupcakes are left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The bakery made 48 cupcakes in the morning. 2. They sold 15 cupcakes before noon. - Cupcakes left: 48 - 15 = 33 3. They baked 24 more cupcakes in the afternoon. - Cupcakes now: 33 + 24 = 57 4. They sold 22 cupcakes in the evening. - Cupcakes left: 57 - 22 = 35 #### 35
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 24 pencils. Tom buys 3 more boxes of pencils, each with 24 pencils inside. He gives 18 pencils to his classmates. How many pencils does Tom have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Step 1: Tom starts with 1 box containing 24 pencils. Step 2: He buys 3 more boxes, each with 24 pencils. Number of pencils in 3 boxes = 3 × 24 = 72 Step 3: Total pencils Tom has now: Initial pencils + Pencils from 3 boxes = 24 + 72 = 96 Step 4: Tom gives 18 pencils to his classmates. Pencils left = 96 - 18 = 78 #### 78
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 15 apples. She buys 8 more apples from the store, then gives 6 apples to her friend. If she wants to split the remaining apples equally among 3 baskets, how many apples will be in each basket? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Sarah starts with 15 apples. 2. She buys 8 more apples. So, total apples now: 15 + 8 = 23 apples. 3. She gives 6 apples to her friend. Apples left: 23 - 6 = 17 apples. 4. She wants to split the remaining apples equally among 3 baskets. So, apples per basket: 17 ÷ 3 = 5 remainder 2. Each basket will have 5 apples, and there will be 2 apples left over. #### 5
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily baked 36 cookies and divided them equally among 4 friends. Later, each friend ate 2 cookies. How many cookies does each friend have left now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, Emily baked 36 cookies. She divided them equally among 4 friends. To find out how many cookies each friend got: 36 cookies ÷ 4 friends = 9 cookies per friend Later, each friend ate 2 cookies. So, the number of cookies each friend has left is: 9 cookies - 2 cookies = 7 cookies #### 7
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah bought 3 packs of markers, with each pack containing 12 markers. She gave 8 markers to her friend and then bought 2 more packs of 10 markers each. How many markers does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Sarah bought 3 packs of markers, with each pack containing 12 markers. Total markers from first purchase = 3 packs × 12 markers/pack = 36 markers 2. She gave 8 markers to her friend. Markers left after giving away = 36 markers - 8 markers = 28 markers 3. She then bought 2 more packs of 10 markers each. Markers from second purchase = 2 packs × 10 markers/pack = 20 markers 4. Total markers Sarah has now = Markers left after giving away + Markers from second purchase Total = 28 markers + 20 markers = 48 markers #### 48
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 72 carrots and put them into bags of 9 carrots each. After selling 4 bags, how many carrots does the farmer have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's go step by step: 1. The farmer harvested 72 carrots. 2. The farmer puts the carrots into bags of 9 carrots each. - Number of bags = 72 ÷ 9 = 8 bags. 3. The farmer sells 4 bags. - Each bag has 9 carrots, so 4 bags have 4 × 9 = 36 carrots. 4. Subtract the sold carrots from the total harvested: - 72 − 36 = 36 carrots. #### 36
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 12 packs of colored pencils. Each pack contains 8 pencils. She gives 15 pencils to her friends and buys 10 more pencils. How many colored pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate the total number of colored pencils Sarah starts with: 12 packs × 8 pencils per pack = 96 pencils Next, subtract the pencils she gives away: 96 pencils - 15 pencils = 81 pencils Then, add the pencils she buys: 81 pencils + 10 pencils = 91 pencils #### 91
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom collected 45 marbles. He gave 18 marbles to his friend and then found 27 more marbles. If he shares all his marbles equally among 6 friends, how many marbles does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Tom initially collected 45 marbles. He gave 18 marbles to his friend: 45 - 18 = 27 marbles left. He then found 27 more marbles: 27 + 27 = 54 marbles. He shares all his marbles equally among 6 friends: 54 ÷ 6 = 9 marbles per friend. #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: James has $50. He buys a book for $14 and a toy for $18. If he splits the remaining money equally between his two friends, how much money does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. James starts with $50. 2. He buys a book for $14. $50 - $14 = $36 remaining. 3. He then buys a toy for $18. $36 - $18 = $18 remaining. 4. He splits the remaining $18 equally between his two friends. $18 ÷ 2 = $9 for each friend. #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 48 cookies and put them equally into 6 boxes. He gave 2 boxes to his neighbor and then baked 24 more cookies. How many cookies does the baker have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The baker made 48 cookies and put them equally into 6 boxes. - Cookies per box = 48 ÷ 6 = 8 cookies per box. 2. He gave 2 boxes to his neighbor. - Number of cookies given = 2 boxes × 8 cookies per box = 16 cookies. 3. The baker is left with 6 - 2 = 4 boxes. - Number of cookies left = 4 boxes × 8 cookies per box = 32 cookies. 4. He then baked 24 more cookies. - Total cookies now = 32 (left after giving away) + 24 (baked) = 56 cookies. #### 56
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa bought 5 packs of stickers, each with 20 stickers. She used 34 stickers in her scrapbook and then bought 16 more stickers. How many stickers does Lisa have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Lisa bought 5 packs of stickers, each with 20 stickers. Number of stickers Lisa bought = 5 × 20 = 100 stickers 2. She used 34 stickers in her scrapbook. Stickers left after using = 100 - 34 = 66 stickers 3. She then bought 16 more stickers. Total stickers Lisa has now = 66 + 16 = 82 stickers So, Lisa has 82 stickers left. #### 82
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 12 packs of markers. Each pack contains 8 markers. She gives 15 markers to her friend and then buys 10 more markers. How many markers does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. First, find out how many markers Sarah originally had. She has 12 packs, each with 8 markers: 12 × 8 = 96 markers 2. She gives 15 markers to her friend: 96 - 15 = 81 markers 3. Then she buys 10 more markers: 81 + 10 = 91 markers So, the number of markers Sarah has now is: #### 91
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 24 apples. If 7 apples are eaten and then the remaining apples are divided equally among 3 friends, how many apples does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, there are 24 apples in the box. Next, 7 apples are eaten: 24 - 7 = 17 apples remain. These 17 apples are divided equally among 3 friends: 17 ÷ 3 = 5 remainder 2. So, each friend gets 5 apples (with 2 apples left over). #### 5
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 72 apples and put them into baskets with 9 apples each. He sold 4 baskets and then picked 18 more apples. How many apples does the farmer have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The farmer harvested 72 apples. 2. He put them into baskets with 9 apples each. Number of baskets = 72 apples ÷ 9 apples per basket = 8 baskets. 3. He sold 4 baskets. Number of apples in 4 baskets = 4 baskets × 9 apples per basket = 36 apples. Apples left after selling = 72 apples - 36 apples = 36 apples. 4. Then he picked 18 more apples. Total apples now = 36 apples + 18 apples = 54 apples. #### 54
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emily baked 48 cookies. She put them into bags of 6 cookies each. She gave away 3 bags to her friends. How many cookies does Emily have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Emily baked 48 cookies in total. 2. She put them into bags of 6 cookies each. To find out how many bags she made: 48 ÷ 6 = 8 bags. 3. She gave away 3 bags to her friends. Each bag has 6 cookies, so: 3 × 6 = 18 cookies given away. 4. To find out how many cookies Emily has left, subtract the given away cookies from the total: 48 - 18 = 30 cookies. #### 30
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Mark bought 5 notebooks for $3 each. He also bought a pen for $2. If he paid with a $20 bill, how much change did he receive? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate the total cost of the notebooks: 5 notebooks × $3 each = $15 Next, add the cost of the pen: $15 (notebooks) + $2 (pen) = $17 Now, subtract the total cost from the amount Mark paid: $20 (paid) - $17 (total cost) = $3 #### 3
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 36 students in a class. The teacher splits them into groups of 4. If 2 groups leave early, how many students remain in the classroom? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. There are 36 students in the class. 2. The teacher splits them into groups of 4. - Number of groups = 36 ÷ 4 = 9 groups. 3. 2 groups leave early. - Each group has 4 students, so students who leave = 2 × 4 = 8 students. 4. Subtract the students who left from the total: - Students remaining = 36 - 8 = 28 students. #### 28
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 12 packs of colored pencils. Each pack contains 8 pencils. She gives 15 pencils to her friends and then buys 3 more packs. How many colored pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Sarah starts with 12 packs of colored pencils. 2. Each pack contains 8 pencils, so she has: 12 packs × 8 pencils/pack = 96 pencils 3. She gives 15 pencils to her friends: 96 pencils - 15 pencils = 81 pencils 4. She buys 3 more packs: 3 packs × 8 pencils/pack = 24 pencils 5. Add these new pencils to her remaining pencils: 81 pencils + 24 pencils = 105 pencils #### 105
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Kevin collected 75 marbles. He gave 18 marbles to his friend and then found 27 more marbles. If he divides all his marbles equally among 4 friends, how many marbles does each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve step by step: 1. Kevin started with 75 marbles. 2. He gave 18 marbles to his friend. So, 75 - 18 = 57 marbles left. 3. He then found 27 more marbles. So, 57 + 27 = 84 marbles. 4. He divides all his marbles equally among 4 friends. So, 84 ÷ 4 = 21 marbles per friend. #### 21
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Lisa read 20 pages of a book each day for 5 days. She then skipped reading for 2 days, and after that, she read 15 pages each day for 3 days. How many pages did Lisa read in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. Lisa read 20 pages each day for 5 days. - Pages read in 5 days = 20 pages/day × 5 days = 100 pages 2. She skipped reading for 2 days. - Pages read in these 2 days = 0 3. She read 15 pages each day for 3 days. - Pages read in 3 days = 15 pages/day × 3 days = 45 pages 4. Add the pages read in both reading periods: - Total pages = 100 pages + 45 pages = 145 pages #### 145
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 24 apples. She gives 8 apples to her friend and then buys 3 more bags of apples, each containing 5 apples. How many apples does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Sarah starts with 24 apples. She gives 8 apples to her friend: 24 - 8 = 16 apples left. She buys 3 more bags of apples, each containing 5 apples: 3 bags × 5 apples/bag = 15 apples. Add the 15 apples to the 16 she has: 16 + 15 = 31 apples. #### 31
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A farmer harvested 350 apples and placed them equally into 7 baskets. He sold 2 baskets of apples and then picked 56 more apples. How many apples does the farmer have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The farmer harvested 350 apples and placed them equally into 7 baskets. - Number of apples per basket = 350 ÷ 7 = 50 apples per basket. 2. He sold 2 baskets of apples. - Number of apples sold = 2 × 50 = 100 apples. 3. Number of apples left after selling = Initial apples - Apples sold = 350 - 100 = 250 apples. 4. He then picked 56 more apples. - Total apples now = 250 + 56 = 306 apples. #### 306
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A box contains 48 pencils. If 12 pencils are taken out and the remaining pencils are divided equally among 4 students, how many pencils does each student get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Step 1: Start with the total number of pencils in the box: 48. Step 2: Subtract the 12 pencils that are taken out: 48 - 12 = 36 pencils remaining. Step 3: Divide the remaining 36 pencils equally among 4 students: 36 ÷ 4 = 9 pencils per student. #### 9
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A bakery made 240 cupcakes. They packed the cupcakes into boxes of 12. After selling 10 boxes, they bake 36 more cupcakes. How many cupcakes does the bakery have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. The bakery made 240 cupcakes. 2. They packed the cupcakes into boxes of 12: Number of boxes = 240 ÷ 12 = 20 boxes. 3. They sold 10 boxes: Number of cupcakes sold = 10 × 12 = 120 cupcakes. 4. Number of cupcakes left after selling = 240 - 120 = 120 cupcakes. 5. They bake 36 more cupcakes: New total = 120 + 36 = 156 cupcakes. #### 156
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom bought 4 packs of markers, each pack containing 6 markers. He gave 7 markers to his friend and then lost 3 markers. How many markers does Tom have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate the total number of markers Tom bought: 4 packs × 6 markers per pack = 24 markers Next, subtract the markers he gave to his friend: 24 markers - 7 markers = 17 markers Then, subtract the markers he lost: 17 markers - 3 markers = 14 markers So, the number of markers Tom has left is: #### 14
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Emma earned $60 from doing chores. She spent $18 on a book and $12 on lunch. She then split the remaining money evenly with her sister. How much money did each person get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Emma earned $60. She spent $18 on a book: $60 - $18 = $42 left. She spent $12 on lunch: $42 - $12 = $30 left. She splits the remaining $30 evenly with her sister: $30 ÷ 2 = $15 per person. #### 15
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 35 students in a class. If 7 students are absent and the remaining students are split equally into 4 groups, how many students are in each group? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, find out how many students are present by subtracting the absent students from the total: 35 - 7 = 28 students are present. Next, divide the number of present students by 4 to find out how many students are in each group: 28 ÷ 4 = 7 students per group. #### 7
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah has 5 packs of pencils. Each pack contains 8 pencils. She gives 7 pencils to her friend and then buys 3 more pencils. How many pencils does Sarah have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, find out how many pencils Sarah has initially: She has 5 packs, and each pack contains 8 pencils. 5 packs × 8 pencils/pack = 40 pencils Next, she gives 7 pencils to her friend: 40 pencils - 7 pencils = 33 pencils Then, she buys 3 more pencils: 33 pencils + 3 pencils = 36 pencils #### 36
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 24 cupcakes. He put them equally into 4 boxes. Later, he gave away 2 cupcakes from each box. How many cupcakes does the baker have left in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve step by step: 1. The baker made 24 cupcakes. 2. He put them equally into 4 boxes. - 24 cupcakes ÷ 4 boxes = 6 cupcakes per box 3. He gave away 2 cupcakes from each box. - 2 cupcakes × 4 boxes = 8 cupcakes given away in total 4. The number of cupcakes left = total cupcakes - cupcakes given away - 24 - 8 = 16 #### 16
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A gardener planted 18 flowers in each of 5 rows. After a storm, 22 flowers were destroyed. How many flowers are left in the garden now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, let's find the total number of flowers the gardener planted. Number of rows = 5 Number of flowers in each row = 18 Total flowers planted = 5 × 18 = 90 After the storm, 22 flowers were destroyed. Flowers left = Total flowers planted - Destroyed flowers Flowers left = 90 - 22 = 68 #### 68
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: There are 36 students in a class. The teacher splits them into groups of 6. If 2 students from each group leave, how many students remain in the class? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. There are 36 students in the class. 2. The teacher splits them into groups of 6. Number of groups = 36 ÷ 6 = 6 groups. 3. 2 students from each group leave. Number of students leaving = 2 × 6 = 12 students. 4. Number of students remaining in the class = 36 - 12 = 24. #### 24
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Maria bought 3 packs of pencils, each containing 8 pencils. She gave 5 pencils to her friend and then bought 2 more packs of 6 pencils each. How many pencils does Maria have now? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve step by step: 1. Maria bought 3 packs of pencils, each containing 8 pencils. 3 packs × 8 pencils/pack = 24 pencils 2. She gave 5 pencils to her friend. 24 pencils - 5 pencils = 19 pencils 3. She then bought 2 more packs of 6 pencils each. 2 packs × 6 pencils/pack = 12 pencils 4. Add the newly bought pencils to what she has left. 19 pencils + 12 pencils = 31 pencils #### 31
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tom bought 3 bags of apples, each with 12 apples. He used 10 apples to bake pies and then shared the remaining apples equally among 4 friends. How many apples did each friend get? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate the total number of apples Tom bought: 3 bags × 12 apples per bag = 36 apples Next, subtract the apples Tom used to bake pies: 36 apples - 10 apples = 26 apples Now, divide the remaining apples equally among 4 friends: 26 apples ÷ 4 friends = 6 apples per friend, with 2 apples left over So, each friend gets 6 apples. #### 6
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A bakery made 24 cupcakes. They sold 7 cupcakes in the morning and then baked 2 more batches of 10 cupcakes each in the afternoon. How many cupcakes does the bakery have after selling 5 more in the evening? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's break down the problem step by step: 1. The bakery made 24 cupcakes initially. 2. They sold 7 cupcakes in the morning. - Cupcakes remaining: 24 - 7 = 17 3. They baked 2 more batches of 10 cupcakes each in the afternoon. - Total cupcakes baked in the afternoon: 2 × 10 = 20 - Cupcakes after baking: 17 + 20 = 37 4. They sold 5 more cupcakes in the evening. - Cupcakes remaining: 37 - 5 = 32 #### 32
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Tim has $50. He buys 3 books for $8 each and then earns $20 by mowing lawns. How much money does Tim have left after buying a snack for $5? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve the problem step by step: 1. Tim starts with $50. 2. He buys 3 books for $8 each. Cost of books = 3 × $8 = $24 3. Subtract the cost of books from his initial amount: $50 - $24 = $26 4. He earns $20 by mowing lawns: $26 + $20 = $46 5. He buys a snack for $5: $46 - $5 = $41 So, the amount of money Tim has left is: #### 41
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: Sarah ran 2 miles each day for 5 days. She then skipped a day and ran 3 more miles. How many miles did Sarah run in total? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
First, calculate how many miles Sarah ran in the first 5 days: 2 miles/day × 5 days = 10 miles Next, she skipped a day and then ran 3 more miles: 10 miles (from first 5 days) + 3 miles = 13 miles So, the total number of miles Sarah ran is: #### 13
You are an AI assistant who is an expert at solving math word problems. Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Question: A baker made 48 cupcakes. He divided them equally into 6 boxes. Then he gave 2 boxes to his friend and ate 3 cupcakes himself. How many cupcakes does the baker have left? Think step by step then provide the numerical answer at the end after the delimiter '####', like '#### 24'.
Let's solve step by step: 1. The baker made 48 cupcakes. 2. He divided them equally into 6 boxes. 48 cupcakes ÷ 6 boxes = 8 cupcakes per box. 3. He gave 2 boxes to his friend. 2 boxes × 8 cupcakes per box = 16 cupcakes given away. 4. Cupcakes remaining after giving away: 48 cupcakes - 16 cupcakes = 32 cupcakes. 5. The baker ate 3 cupcakes himself. 32 cupcakes - 3 cupcakes = 29 cupcakes. #### 29