acnagle/gsm8k-filtered huggingface dataset:
The novel that everyone is reading for English class has half as many pages as their history book. Their science book has 4 times the amount of pages as their novel.

Question: If the history book has 300 pages, how many pages does their science book have?
Answer: Their novel is half as long as their 300-page history book so it is 300/2 = <<300/2=150>>150 pages
Their science book has 4 times the amount of pages as their novel, which is 150 pages, so their science book has 4*150 = <<4*150=600>>600 pages
#### 600
CJ, KJ, and AJ collect stamps. CJ has 5 more than twice the number of stamps that KJ has, and KJ has half as many as AJ.

Question: If the three boys have 930 stamps all together, how many stamps does AJ have?
Answer: Let x represent the number of stamps for AJ
KJ:x/2 stamps
CJ:5+2(x/2)=5+x
Total:x+(x/2)+5+x=930
(5/2)x+5=930
(5/2)x=925
x=925(2/5)=370 stamps
#### 370
There are 12 bananas and 4 apples in the blue basket. The red basket holds half as many fruits as the blue basket.

Question: How many fruits are in the red basket?
Answer: In the blue basket, there are 12 bananas + 4 apples = <<12+4=16>>16 fruits.
The red basket holds half of this so there are 16 fruits in the blue basket / 2 = <<16/2=8>>8 fruits in the red basket.
#### 8
Tina buys a loaf of bread for $50, 2oz of ham for $150, and a cake for $200.

Question: What percent of the cost is the ham and bread?
Answer: The total cost of buying bread and ham was $50+$150 = $<<50+150=200>>200
Together with the cake, Tina paid $200+$200 = $<<200+200=400>>400 for the items
Since the total percentage for all the items is 100%, the cost of ham and bread is $200/$400 * 100% = <<200/400*100=50>>50% of the total cost of items.
#### 50
Everett built a rectangular concrete patio that was four times as long as it was wide.

Question: If the perimeter of the patio was 100 feet, what was the length of the patio, in feet?
Answer: Let's make "x" be the width of the patio.
Then the length of the patio would be 4*x.
And the perimeter of the patio would be the sum of all four sides, or x+(4*x)+x+(4*x)=100 feet.
This simplifies to 10x=100 feet.
And the width of the patio x=<<10=10>>10 feet.
And the length of the patio is 4*x = 4*10 = 40 feet.
#### 40
A class has 60 students. The number of students who bring their lunch is thrice the number of those who eat in the school cafeteria. The rest of the students don't eat lunch.

Question: If 10 students eat in the school cafeteria, how many don't eat lunch?
Answer: Multiplying the number of students eating at the cafeteria by three means that 3 * 10 = <<3*10=30>>30 students bring lunch.
The total number of students that eat lunch is 10 + 30 = <<10+30=40>>40 students
Since the class has 60 students, those who don't eat lunch are 60-40 = <<60-40=20>>20 students.
#### 20
On the night of the dance, 400 students show up to the party. 70% of the students who showed up were invited.

Question: If 40% of those invited to the party had their invitation revoked and were not allowed into the party, how many invited students attended the party?
Answer: On the night of the dance 70/100*400 = <<70/100*400=280>>280 students who showed up to the party were invited.
If 40% of those invited to the party had their invitation revoked, there were 40/100*280 = <<40/100*280=112>>112 students who showed up and had their invitation revoked.
The number of invited students who attended the party is 280-112 = <<280-112=168>>168
#### 168
Marcel bought a pen for $4, and a briefcase for five times the price.

Question: How much did Marcel pay for both items?
Answer: The cost of the briefcase was 5 * 4 = $<<5*4=20>>20.
So for both items Marcel paid 4 + 20 = $<<4+20=24>>24.
#### 24
A tank contains 6000 liters of water, 2000 liters evaporated, and then 3500 liters were drained by Bob.

Question: How many liters are in the tank if it now rains for 30 minutes and every 10 minutes 350 liters of rain are added to the tank?
Answer: After the first evaporation, the water tank has 6000 liters - 2000 liters = <<6000-2000=4000>>4000 liters.
After the second extraction, the water tank has 4000 liters - 3500 liters= <<4000-3500=500>>500 liters
The tank is refilled with rain 30 minutes / 10 minutes = <<30/10=3>>3 times
The amount of water refilled with rain is 3 times * 350 liters per time = <<3*350=1050>>1050 liters.
With the additional rainwater, the water tank has 500 liters + 1050 liters = <<500+1050=1550>>1550 liters.
#### 1550
Brittany got a 78 on her first test. After her second test, her average rose to an 81.

Question: What grade did she get on her second test?
Answer: First multiply her average grade by the number of tests she took to find the total number of points she scored: 81 points * 2 = <<81*2=162>>162 points
Then subtract the number of points she scored on her first exam to find how many points she scored on her second exam: 162 points - 78 points = <<162-78=84>>84 points
#### 84
Vins rides his bike 6 miles to school. He rides home a different route that is 7 miles long. This week, Vins rode to school and back 5 times.

Question: How many miles did Vins ride his bike this week?
Answer: He rides his bike 6 + 7 = <<6+7=13>>13 miles to school and back every day.
Therefore, Vins rode his bike 13 x 5 = <<13*5=65>>65 miles to school and back this week.
#### 65
Eliza can iron a blouse in 15 minutes and a dress in 20 minutes.

Question: If she spends 2 hours ironing blouses and 3 hours ironing dresses, how many pieces of clothes did she iron?
Answer: Since 60 minutes equal 1 hour, in 2 hours, Eliza ironed blouses for 2 x 60 = <<2*60=120>>120 minutes.
Eliza can iron 120 / 15 = <<120/15=8>>8 blouses.
Since 60 minutes equal 1 hour, in 3 hours, Eliza ironed dresses for 3 x 60 = <<3*60=180>>180 minutes.
Eliza can iron 180 / 20 = <<180/20=9>>9 dresses.
In total, Eliza ironed 8 + 9 = <<8+9=17>>17 pieces of clothes.
#### 17
Jennifer bought twice as many candies as Emily and three times as many as Bob bought.

Question: If Emily bought 6 candies, how many candies did Bob buy?
Answer: Jennifer bought twice as many as Emily (who bought 6 candies) which is 6*2 = <<6*2=12>>12 candies
12 candies (that Jennifer bought) is three times as much as what Bob bought which means 3*what Bob bought = 12
Dividing both sides of the equation by 3 gives: Number of candies Bob bought = 12/3 = <<12/3=4>>4 candies
#### 4
Maria is baking cookies for Sally. Sally says that she wants 1/4 of her cookies to have nuts in them, 40% to have chocolate chips in them, and the remainder to have nuts and chocolate chips in them. When she adds nuts to the cookies, she uses 2 nuts per cookie.

Question: If she makes 60 cookies, how many nuts does she need?
Answer: 35% of the cookies have nuts and chocolate chips because 100 - 25 - 40 = <<100-25-40=35>>35
60% of the cookies have nuts in them because 25 + 35 = <<25+35=60>>60
She makes 36 cookies with nuts in them because 60 x .6 =<<36=36>>36
She needs 72 nuts because 36 x 2 = <<36*2=72>>72
#### 72
An apartment building has 12 floors and half of them are full. The remaining floors are all at half-capacity.

Question: If each floor has 10 apartments and each apartment has four people, how many people are in the building?
Answer: Half the floors are full, so there are 12 floors * 0.5 = <<12*0.5=6>>6 floors that are full.
So the full floors contain 6 floors * 10 apartments = <<6*10=60>>60 apartments.
The remaining floors are at half-capacity, so there are 12 floors – 6 full floors = <<12-6=6>>6 half-full floors.
Each of these floors therefore contains 10 apartments * 0.5 = <<10*0.5=5>>5 apartments.
So on the half-full floors, there are a total of 6 floors * 5 apartments = <<6*5=30>>30 apartments.
In total, there are 30 + 60 = <<30+60=90>>90 filled apartments in the building.
This means there are 90 apartments * 4 people per apartment = <<90*4=360>>360 people in the building.
#### 360
Billy and Margaret are competing with each other to see who can swim 10 laps the fastest. Billy swims his first 5 laps in 2 minutes, swims the next 3 laps in 4 minutes, swims the next lap in 1 minute, then swims his final lap. Margaret finishes swimming all of her laps in 10 minutes. Billy wins the competition by finishing his laps 30 seconds before Margaret does.

Question: In seconds, how long did it take Billy to swim his final lap?
Answer: Margaret finished all of her laps in 10 minutes * 60 seconds = <<10*60=600>>600 seconds.
Billy’s first 5 laps took 2 minutes * 60 seconds = <<2*60=120>>120 seconds.
His next 3 laps took 4 minutes * 60 seconds = <<4*60=240>>240 seconds.
His ninth lap took 1 minute * 60 seconds = <<1*60=60>>60 seconds.
So his first 9 laps took 120 + 240 + 60 = <<120+240+60=420>>420 seconds.
Billy finished swimming his laps before Margaret so all of his laps took a total of 600 – 30 = <<600-30=570>>570 seconds.
This means that it took 570 seconds in total swimming time – 420 seconds in time spent swimming the first 9 laps = 150 seconds for Billy to swim his final lap.
#### 150
The town is having a race to see who can run around the town square 7 times the fastest. The town square is 3/4 of a mile long. The winner finishes the race in 42 minutes. Last year's winner finished in 47.25 minutes.

Question: How many minutes on average faster did this year's winner run one mile of the race compared to last year?
Answer: The race is 5.25 miles long because 7 x .75 = <<7*.75=5.25>>5.25
They ran a mile in 8 minutes because 42 / 5.25 = <<42/5.25=8>>8
Last year's winner ran a mile in 9 minutes because 47.25 / 5.25 = <<47.25/5.25=9>>9
They ran 1 minute faster per mile compared to last year's winner.
#### 1
Lisa has 18 more dresses than Ana.

Question: If the number of their dresses combined is 48, how many dresses does Ana have?
Answer: If Lisa's surplus of 18 dresses is taken away from the total, they will have 48-18 = <<48-18=30>>30 dresses in total
They would each have the same number of dresses from these 30 i.e. 30/2 = <<30/2=15>>15 dresses which is the number of dresses that Ana actually has.
#### 15
Theo, Mason, and Roxy are siblings. Theo drinks 8 cups of water every day. Mason drinks 7 cups of water. Roxy drinks 9 cups of water every day.

Question: In one week, how many cups of water do the siblings drink together?
Answer: Everyday, the three siblings drink 8 + 7 + 9 = <<8+7+9=24>>24 cups of water.
In one week, they drink a total of 24 x 7 = <<24*7=168>>168 cups of water.
#### 168
Remi prepared a tomato nursery and planted tomato seedlings. After 20 days, the seedlings were ready to be transferred. On the first day, he planted 200 seedlings on the farm. On the second day, while working alongside his father, he planted twice the number of seedlings he planted on the first day.

Question: If the total number of seedlings transferred to the farm on these two days was 1200, how many seedlings did his father plant?
Answer: On the second day, he planted 2 * 200 seedlings = <<2*200=400>>400 seedlings.
The total number of seedlings Remi planted on the two days is 400 seedlings + 200 seedlings = <<400+200=600>>600 seedlings.
If the total number of seedlings transferred from the nursery was 1200 after the second day, Remi's father planted 1200 seedlings - 600 seedlings = <<1200-600=600>>600 seedlings.
#### 600
Darryl is an inventor who just designed a new machine. He had to pay $3600 for the parts to construct the machine, and $4500 for the patent he applied for once he built it.

Question: If the machine sells for $180, how many machines does Darryl need to sell to break even after the costs?
Answer: Darryl paid 3600 + 4500 = $<<3600+4500=8100>>8100 in costs for the parts and patent.
Thus, Darryl needs to sell 8100 / 180 = <<8100/180=45>>45 machines to break even.
#### 45
Mike decides to buy a new camera. He wants to buy a top-of-the-line camera but he decides to wait for the new model to come out. The new model costs 30% more than the current model. The old camera cost $4000. He gets $200 off a $400 lens he bought.

Question: How much did he pay for the camera and lens?
Answer: The new camera cost 4000*.3=$<<4000*.3=1200>>1200 more than the old camera.
So the camera cost 4000+1200=$<<4000+1200=5200>>5200
The lens cost 400-200=$<<400-200=200>>200
So the total cost was 5200+200=$<<5200+200=5400>>5400
#### 5400
Carson is covering the high school football field with grass seed. Each square meter needs three times as much seed as fertilizer.

Question: If Carson uses 60 gallons of seed and fertilizer combined, how many gallons of seed does he use?
Answer: Let s be the number of gallons of seed Carson uses and f be the number of gallons of fertilizer. We know that s = 3f and s + f = 60.
Substituting the first equation into the second equation produces 3f + f = 60
Combining like terms, we get 4f = 60
Dividing both sides by 4, we get f = 15
Substituting that value into the equation s = 3f, we get s = 3 * 15 = <<3*15=45>>45
#### 45
Mary earns $20 washing cars and $40 walking dogs each month.

Question: If she puts half of that money away each month how long would it take her to save $150?
Answer: Each month she makes 20+40=$<<20+40=60>>60
Every month she saves 60/2=$<<60/2=30>>30
To save $150 it will take her 150/30=<<150/30=5>>5 months
#### 5
Colt and Curt prepared 113 meals to be given away to a charity. Unexpectedly, Sole Mart provided 50 more meals.

Question: If Colt and Curt have given 85 meals already, how many more meals are left to be distributed?
Answer: There are 113 + 50 = <<113+50=163>>163 meals in total.
After Colt and Curt gave away 85 meals, there are 163 - 85 = <<163-85=78>>78 more meals left to be distributed.
#### 78
Ernest bought 50 meters of wire and cut it into 5 equal parts. He then used 3 parts of the wire.

Question: How many meters of wire is not used?
Answer: Each part of the wire is 50/5 = <<50/5=10>>10 meters long.
Ernest used 3 parts, then he used 10 x 3 = <<3*10=30>>30 meters of the wire.
Therefore, 50 - 30 = <<50-30=20>>20 meters of wire is not used.
#### 20
There were 140 kids in the junior prom. Of those, a fourth of them were dancers. Of the dancers, 25 danced the slow dance.

Question: How many of the dancer students did not slow dance?
Answer: 140/4 = <<140/4=35>>35 of the students were dancers.
35-25 = <<35-25=10>>10 of the dancer students did not slow dance.
#### 10
A group of bedbugs infested an old mattress. Every day, the number of bedbugs would triple. After four days, there were 810 bedbugs burrowing into the mattress.

Question: How many bedbugs did the group start with?
Answer: On the third day, there were one-third of the number of bedbugs as the fourth day, so there were 810 / 3 = <<810/3=270>>270 bedbugs.
On the second day, there were one-third of the third day’s bedbugs, so there were 270 / 3 = <<270/3=90>>90 bedbugs.
On the first day, there were 90 / 3 = <<90/3=30>>30 bedbugs in the group to start with.
#### 30
Danny is bringing his sailboat out to the ocean. When he uses his 24 square foot sail he goes 50 MPH. When he uses his 12 square foot sail he goes 20 MPH. He plans to travel 200 miles.

Question: How many hours faster is the bigger sail than the smaller one?
Answer: The bigger sail will make the trip in 4 hours because 200 / 50 = <<200/50=4>>4
The smaller sail will make the trip in 10 hours because 200 / 20 = <<200/20=10>>10
The bigger sail will be 6 hours faster because 10 - 4 = <<10-4=6>>6
#### 6
Hallie borrows a book from the library. She reads the entire book in four days. She read 63 pages the first day. On the second day, she read twice the number of pages that she'd read on day one. On the third day, she read 10 mores pages than she read on day two.

Question: If the book is 354 pages long, how many pages did she read on the fourth day?
Answer: On day two, she read 63 * 2 = <<63*2=126>>126 pages.
On day three, she read 126 + 10 = <<126+10=136>>136 pages.
On day four, she read 354 - 63 - 126 - 136 = <<354-63-126-136=29>>29 pages to finish the book.
#### 29
Pima invested $400 in Ethereum. In the first week, it gained 25% in value. In the second week, it gained an additional 50% on top of the previous gain.

Question: How much is her investment worth now?
Answer: For the first week, her investment gain is $400 * 25% = $<<400*25*.01=100>>100.
This leaves her investment with a value of $400 + $100 = $<<400+100=500>>500.
For the second week, her investment increased by $500 * 50% = $<<500*50*.01=250>>250.
Pima's investment in Ethereum is now worth a total of $500 + $250 = $<<500+250=750>>750.
#### 750
Tom goes to a combined undergrad and Ph.D. program. It takes 3 years to finish the BS and 5 years to finish the Ph.D.  Tom finishes it in 3/4ths the time.

Question: How long does it take for him to finish?
Answer: The program normally takes 3+5=<<3+5=8>>8 years
So he manages to finish in 8*3/4=<<8*3/4=6>>6 years
#### 6
Kate wants to buy a special pen as a gift for her friend. The pen costs $30, and Kate only has money for a third of that amount.

Question: How much more money does she need to buy the pen?
Answer: Currently, Kate has only 1/3 * 30 = $<<1/3*30=10>>10.
That means Kate needs 30 - 10 = $<<30-10=20>>20 more to buy the pen.
#### 20
Solomon bought a dining table at a 10% discount and paid the sale price of $450.

Question: What was the original price of the dining table?
Answer: Since there was a 10% discount, this means that Solomon only paid 100% - 10% = 90% of the original price.
The 90% is represented by $450, so 1% is equal to $450/90 = $<<450/90=5>>5.
Therefore, the original price of the dining table is $5 x 100 =$<<5*100=500>>500.
#### 500
Two-thirds of the class have brown eyes. Half of the students with brown eyes have black hair.

Question: If there are 6 students in the class with brown eyes and black hair, how many students are there in total?
Answer: There are 6 * 2 = <<6*2=12>>12 students with brown eyes and hair of any color.
There are 12 * 3/2 = <<12*3/2=18>>18 students in total.
#### 18
Nora's mother tells her to go and pick oranges from their farm. She picks 80 oranges from one tree, 60 from another tree, and 120 from the third tree.

Question: What's the total number of oranges she picked?
Answer: After picking 80 oranges from the first tree and 60 oranges from the second tree, she has 80+60 = <<80+60=140>>140 oranges.
When she adds 120 more oranges from the third tree, she has 140+120 = <<140+120=260>>260 oranges.
#### 260
Emma bought 3 dozens of macarons in addition to her 10 pieces of macarons for a party.

Question: If 15 pieces of macarons are left over, how many pieces of macarons were eaten?
Answer: Three dozens of macarons are equal to 3 x 12 = <<3*12=36>>36 pieces of macarons.
So Emma has a total of 36 + 10 = <<36+10=46>>46 pieces of macarons for the party.
Therefore, 46 - 15 = <<46-15=31>>31 pieces of macarons were eaten.
#### 31
Victor, Austin, and Brian made traps to catch shrimp. Victor's trap caught 26 shrimp and Austin's trap caught 8 less than Victor's. Brian's trap caught half of Victor and Austin's total number of shrimp.

Question: If the boys then sold their shrimp for $7 for every 11 tails of shrimp and then divided their earnings equally amongst themselves, how much money does each boy make?
Answer: Austin's trap caught 26 - 8 = <<26-8=18>>18 shrimp.
Together, Victor and Austin's traps caught 18 + 26 = <<18+26=44>>44 shrimp.
Brian's trap caught 44/2 = <<44/2=22>>22 shrimp
In total, they caught 26 + 18 + 22 = <<26+18+22=66>>66 shrimp.
They were able to sell 66/11 = <<66/11=6>>6 sets of shrimp.
They made a total of 6 x $7 = $<<6*7=42>>42
Each boy made $42/ 3 = $<<42/3=14>>14
#### 14
Pat's stick is 30 inches long. He covers 7 inches of the stick in dirt. The portion that is not covered in dirt is half as long as Sarah’s stick. Jane’s stick is two feet shorter than Sarah’s stick.

Question: How many inches long is Jane’s stick?
Answer: 30-7 = <<30-7=23>>23 inches of Pat’s stick is not covered in dirt.
Sarah’s stick is 23*2 = <<23*2=46>>46 inches long.
Jane’s stick is 12*2 = <<12*2=24>>24 inches shorter than Sarah’s stick.
Jane’s stick is 46-24 = <<46-24=22>>22 inches long.
#### 22
Nicole has 4 fish tanks. The first two tanks need 8 gallons of water each and the other two need 2 fewer gallons of water each than the first two tanks.

Question: If Nicole needs to change the water of the aquarium every week, how many gallons of water will she need in four weeks?
Answer: The first two tanks need 8 x 2 = <<8*2=16>>16 gallons of water.
The other two tanks need 8 - 2 = <<8-2=6>>6 gallons of water each.
So, the two other tanks need 6 x 2 = <<6*2=12>>12 gallons of water.
Nicole needs 16 + 12 = <<16+12=28>>28 gallons of water every week for her four tanks.
Therefore, she needs a total of 28 x 4 = <<28*4=112>>112 gallons of water in four weeks.
#### 112
Jackson's oldest son gets 4 cookies after school and his youngest son gets 2 cookies after school.

Question: If there are 54 cookies in a box, how many days will the box last?
Answer: The oldest son gets 4 cookies and the youngest gets 2, so every day they eat 4+2 = <<4+2=6>>6 cookies
There are 54 cookies in a box and the boys eat 6 cookies a day, so the box will last 54/6 = <<54/6=9>>9 days
#### 9
You walk twice as fast as Mr. Harris, and Mr. Harris took 2 hours to walk to the store.

Question: If your destination is 3 times further away than the store Mr. Harris walked to, how many hours will it take you to get there?
Answer: First we find out how long it would take Mr. Harris to walk to your destination, which we find by multiplying his 2 hour walk by 3 since your destination is 3 times further away, meaning it would take him 2*3= <<2*3=6>>6 hours.
Since you walk twice as fast, it would take you half the time. Half of 6, 6/2=<<6/2=3>>3 hours in total.
#### 3
In a school with 800 students, 5/8 of the students are girls. Seven-tenths of the girls and two-fifths of the boys are in the primary grades, while the rest are middle schoolers.

Question: How many middle schoolers are there?
Answer: There are 800 x 5/8 = <<800*5/8=500>>500 girls.
So, there are 800 - 500 = <<800-500=300>>300 boys.
There are 500 x 7/10 = <<500*7/10=350>>350 girls that are in the primary grades.
Hence, 500 - 350 = <<500-350=150>>150 girls are middle schoolers.
There are 300 x 2/5 = <<300*2/5=120>>120 boys that are in the primary grades.
Hence, 300 - 120 = <<300-120=180>>180 boy students are middle schoolers.
Therefore, a total of 150 girls + 180 boys = <<150+180=330>>330 middle schoolers.
#### 330
In India, it cost $1 to purify a gallon of fresh water. Each person needs 1/2 a gallon of fresh water a day.

Question: In a family of 6, how much will it cost for fresh water for the day?
Answer: The family needs 3 gallons of water because 6 x .5 = <<6*.5=3>>3
It will cost $3 because 3 x 1 = <<3*1=3>>3
#### 3
A café has a few orders to cook and also needs to makes sandwiches for a group of customers that arrived. 3 local offices have each ordered 10 bacon sandwiches and half of the group that has arrived have asked for 4 bacon sandwiches each.

Question: If the café makes a total of 54 bacon sandwiches, how many customers are in the group of customers that arrived?
Answer: The offices ordered a total of 3 offices * 10 sandwiches each = <<3*10=30>>30 sandwiches.
So the group of customers must have ordered 54 total sandwiches – 30 sandwiches for the offices = <<54-30=24>>24 sandwiches.
This is a total of 24 sandwiches / 4 sandwiches per customer = <<24/4=6>>6 customers who ordered a sandwich.
As only half the group ordered a bacon sandwich, the entire group must have consisted of 6 customers * 2 = <<6*2=12>>12 customers.
#### 12
A school bus has 4 columns and 10 rows of seats.

Question: If the school has 6 buses, how many students can the buses accommodate?
Answer: Each bus can accommodate 10 x 4 = <<10*4=40>>40 students.
Therefore, 40 x 6 = <<40*6=240>>240 students can be accommodated by the six busses.
#### 240