acnagle/gsm8k-filtered huggingface dataset:
Rhonda, Sally, and Diane are members of their school's track team. The three of them run the 600-meter relay race together. Rhonda runs the first 200 meters of the race, Sally runs the second 200 meters of the race, and Diane runs the final 200 meters of the race. Rhonda can run 200 meters in 24 seconds. Sally takes two seconds longer to run the same distance, while Diane can run 200 meters three seconds faster than Rhonda.

Question: How many seconds does it take for the three of them to run the 600-meter relay race?
Answer: Sally takes 24+2=<<24+2=26>>26 seconds.
Diane takes 24-3=<<24-3=21>>21 seconds.
Thus, the three take 24+26+21=<<24+26+21=71>>71 seconds to run the 600-meter relay race.
#### 71
It takes 50 minutes to cut a woman's hair, 15 minutes to cut a man's hair, and 25 minutes to cut a kid's hair.

Question: If Joe cut 3 women's, 2 men's, and 3 children's hair, how much time did he spend cutting hair?
Answer: He spent 3*50=<<3*50=150>>150 minutes cutting women's hair.
He spent 2*15=<<2*15=30>>30 minutes cutting men's hair.
He spent 3*25=<<3*25=75>>75 minutes cutting children's hair.
He spent a total of 150+30+75=<<150+30+75=255>>255 minutes.
#### 255
Leo had 400 marbles in a jar. He packed the marbles with ten marbles in each pack, and he gave some of them to his two friends,  Manny and Neil. He gave Manny 1/4 of the number of packs of marbles, Neil received 1/8 of the number of packs of marbles, and he kept the rest.

Question: How many packs of marbles did Leo keep?
Answer: Leo had 400/10 = <<400/10=40>>40 packs of marbles.
He gave Manny 1/4 x 40 = <<1/4*40=10>>10 packs of marbles.
And, Neil received 1/8 x 40 = <<1/8*40=5>>5 packs of marbles.
Thus, Leo. gave a total of 10 + 5 = <<10+5=15>>15 packs of marbles.
Therefore, Leo kept 40 - 15 = <<40-15=25>>25 packs of marbles.
#### 25
Phil and Andre decide to order some pizza. They get a small cheese and a large pepperoni. The small pizza has 8 slices, The large has 14 slices. They have both eaten 9 slices already.

Question: How many pieces are left per person?
Answer: There are 22 pieces of pizza because 14 plus 8 equals <<14+8=22>>22.
They have eaten 18 pieces of pizza because 9 plus 9 equals <<9+9=18>>18.
There are 4 pieces of pizza left because 22 minus 18 equals <<22-18=4>>4.
There are 2 pieces per person because 4 divided by 2 equals <<4/2=2>>2.
#### 2
Tony has a bucket that holds 2 pounds of sand. He has a sandbox out back that is two feet deep, four feet wide, and 5 feet long. A cubic foot of sand weighs 3 pounds. Because it's hot outside, he wants to make sure he stays hydrated, so every 4 trips he takes he drinks 3 ounces of bottled water. A 15 ounce bottle of water costs $2. He has $10 with him.

Question: How much change will he have after he buys all the water he needs?
Answer: The sandbox is 40 cubic feet because 2 x 4 x 5 = <<2*4*5=40>>40
He needs 120 pounds of sand because 40 x 3 = <<40*3=120>>120
He will take 60 trips because 120 / 2 = <<120/2=60>>60
He will need to drink water 15 times because 60 / 4 = <<60/4=15>>15
He will drink 45 ounces of water because 15 x 3 = <<15*3=45>>45
He will need 3 bottles of water because 45 / 15 = <<45/15=3>>3
He will spend $6 on water because 3 x 2 = <<3*2=6>>6
He will have $4 in change because 10 - 6 = <<10-6=4>>4
#### 4
The PTA had saved $400 set aside after a fundraising event. They spent a fourth of the money on school supplies. Then they spent half of what was left on food for the faculty.

Question: How much money did they have left?
Answer: They spent $400/4=$<<400/4=100>>100 on school supplies.
They spent $300/2=$<<300/2=150>>150 on food.
They had $300-150=$<<300-150=150>>150 left.
#### 150
William read 6 books last month and Brad read thrice as many books as William did. This month, in an effort to catch up, Williams read twice as much as Brad, who read 8 books.

Question: Who has read more across the two months, and by how much?
Answer: Last month Brad read thrice 6 books for a total of 3*6 = <<3*6=18>>18 books
This month Williams read twice 8 books for a total of 2*8 = <<2*8=16>>16 books
Across the 2 months Brad has read 18+8 = <<18+8=26>>26 books
Across the 2 months William has read 6+16 = <<6+16=22>>22 books
Brad has read 26-22 = <<26-22=4>>4 more books
#### 4
Twenty years ago, Shane was 2 times older than Garret is now.

Question: If Garret is currently 12, how old is Shane now?
Answer: Twenty years ago, Shane was 12 * 2 = <<12*2=24>>24 years old
Shane is currently 24 + 20 = <<24+20=44>>44 years old
#### 44
Traveling from Manhattan to the Bronx, Andrew rides the subway for 10 hours, takes the train and rides for twice as much time as the subway ride, and then bikes the remaining distance for 8 hours.

Question: What's the total time he takes to reach the Bronx from Manhattan?
Answer: The train ride takes Andrew 2*10 = <<2*10=20>>20 hours.
Together, the subway ride and the train ride take Andrew 10+20 = <<10+20=30>>30 hours.
With an additional bike ride of 8 hours to reach the Bronx, Andrew takes 30+8 = <<30+8=38>>38 hours to travel from Manhattan to the Bronx.
#### 38
Each bank teller has 10 rolls of coins. Each roll has 25 coins.

Question: How many coins do four bank tellers have in all?
Answer: Each bank teller has 10 x 25 = <<10*25=250>>250 coins.
Thus, four bank tellers have 250 x 4 = <<250*4=1000>>1000 coins.
#### 1000
John buys a vacuum cleaner for $250 and a dishwasher for $450. She has a $75 off coupon.

Question: How much did he spend?
Answer: The combined price was 250+450=$<<250+450=700>>700
So he paid 700-75=$<<700-75=625>>625
#### 625
Mark and his sister Chris both leave their house for school at the same time. Mark travels at the same speed as Chris, who walks 3 miles per hour. After walking 3 miles Mark has to turn around and go home because he forgot his lunch.

Question: If the distance from their house to the school is 9 miles, how much longer does Mark spend walking than Chris?
Answer: First find the total number of miles Mark walks to get his lunch by multiplying the distance he walks back to the house by 2: 3 miles * 2 = <<3*2=6>>6 miles
Then find the total distance Mark walks by adding that distance to the distance between the house and the school: 6 miles + 9 miles = <<6+9=15>>15 miles
Now divide the total distance Mark walks by his speed to find how many hours he spends walking: 15 miles / 3 miles/hour = <<15/3=5>>5 hours
Now divide the total distance Chris walks by her speed to find the total time she spends walking: 9 miles / 3 miles/hour = <<9/3=3>>3 hours
Now subtract the time Chris spends walking from the time Mark spends walking to find the difference: 5 hours - 3 hours = <<5-3=2>>2
#### 2
John attends a protest for 4 days. He then attends a second protest for 25% longer than the first.

Question: How many days did he spend protesting?
Answer: The second protest was 4*.25=<<4*.25=1>>1 day longer than the first.
So the second protest was 4+1=<<4+1=5>>5 days.
Thus he spent 4+5=<<4+5=9>>9 days protesting.
#### 9
Mary wants to bake 10 apple pies for a charity event. Each pie needs 8 apples and she already harvested 50 apples from the trees in her garden.

Question: How many more apples does she need to buy to make all 10 pies?
Answer: She needs 10*8=<<10*8=80>>80 apples to make the pies
So she has to buy 80-50=<<80-50=30>>30 more apples
#### 30
Jane had a 500 page book to read. The first half of the book Jane read with a speed of 10 pages per day, and the second half with a speed of 5 pages a day.

Question: How many days did Jane spend reading this book?
Answer: Half of the book means 500 / 2 = <<500/2=250>>250 pages.
Reading the first half took Jane 250 / 10 = <<250/10=25>>25 days.
Reading the second half of the book took Jane 250 / 5 = <<250/5=50>>50 days.
So in total Jane needed 25 + 50 = <<25+50=75>>75 days to read the whole book.
#### 75
Adam has an orchard. Every day for 30 days he picks 4 apples from his orchard. After a month, Adam has collected all the remaining apples, which were 230.

Question: How many apples in total has Adam collected from his orchard?
Answer: During 30 days Adam picked 4 * 30 = <<4*30=120>>120 apples.
So in total with all the remaining apples, he picked 120 + 230 = <<120+230=350>>350 apples from his orchard.
#### 350
A new book sold 15 copies at the bookstore on Wednesday. On Thursday the book sold three times that many copies. On Friday the book sold one-fifth the number of copies it did on Thursday.

Question: How many copies of the book did the bookstore sell by Friday?
Answer: On Thursday 15*3=<<15*3=45>>45 books were sold.
On Friday 45/5=<<45/5=9>>9 books were sold
Adding up all three days 15+45+9=<<15+45+9=69>>69 books were sold by Friday
#### 69
Sarah makes 5 times more money per hour than Connor does.

Question: If Connor earns $7.20 per hour, how much does Sarah make in an 8-hour day?
Answer: Sarah makes $7.2 * 5 = $<<7.2*5=36>>36 per hour
Sarah makes $36 * 8 = $<<36*8=288>>288 per day.
#### 288
Randy walks his dog twice a day. After each walk, he wipes his dog's paws off with a baby wipe. The baby wipes come 120 wipes per pack.

Question: How many packs will he need to make sure he has enough wipes for 360 days?
Answer: He uses 2 wipes a day and the pack of baby wipes come 120 wipes per pack so they will last 120/2 = 60 days
He needs enough to last for 360 days and 1 pack will last 60 days so he needs 360/60 = <<360/60=6>>6 packs
#### 6
Jack, who weighs 60 pounds, wants to play on the see-saw with his cousin Anna, who weighs 40 pounds.

Question: How many 4-pound rocks does Jack need to hold to make their weights equal?
Answer: First find the total difference in weight between the two people: 60 pounds - 40 pounds = <<60-40=20>>20 pounds
Then divide the weight difference by the weight of each rock to find the number of rocks need to even the weights: 20 pounds / 4 pound/rock = <<20/4=5>>5 rocks
#### 5
In a basketball game, Tobee scored 4 points. Jay scored 6 more than Tobee and Sean scored 2 less than the points of Tobee and Jay together.

Question: If Tobee, Jay, and Sean are on the same team, how many points did they score for their team?
Answer: Jay scored 4 + 6 = <<4+6=10>>10 points.
Together, Tobee and Jay scores 4 + 10 = <<4+10=14>>14 points.
So, Sean scored 14 - 2 = <<14-2=12>>12 points.
Thus, Tobee, Jay, and Sean scored a total of 4 + 10 + 12 = <<4+10+12=26>>26 points for their team.
#### 26
In the jar, there are 7 blue marbles, 11 red marbles, and some yellow marbles.

Question: If the chance of randomly picking a yellow marble is 1/4, how many yellow marbles are there?
Answer: Let y be the number of yellow marbles
There are 11+7+y=18+y total marbles.
y/(18+y)=1/4.
4y=18+y
3y=18
y=6
There are 6 yellow marbles.
#### 6
Daisy’s milk cow provides 16 cups of milk per day. 75% of the milk is consumed by Daisy’s kids. Daisy uses 50% of the remaining milk to cook with.

Question: How much milk is left over?
Answer: The cow provides 16 cups of milk per day and the kids consume 75% so they drink 16*.75 = <<16*.75=12>>12 cups of milk
The cow provides 16 cups of milk and the kids drink 12 cups leaving 16-12 = <<16-12=4>>4 cups of milk
Daisy uses 50% of the remaining 4 cups of milk to cook with so she uses .50*4 = <<50*.01*4=2>>2 cups of milk
She had 4 cups of milk and used 2 cups to cook with so that leaves 4-2 = <<4-2=2>>2 cups of milk
#### 2
The coach of a football team asked his players to do six laps of the field.

Question: The field is in the shape of a rectangle of length 100 m and width 50 m. What is the distance each player will run, in meters?
Answer: One lap corresponds to the perimeter of a rectangle of 100 m length and 50 m width: 2*100 + 2 *50 = <<2*100+2*50=300>>300 metres.
Each player has to do six turns of the field, so runs 6*300 = <<6*300=1800>>1800 meters.
#### 1800
Joan has 2 hours to get all her music practice done. She spends 30 minutes on the piano, 25 minutes writing music on her computer, and 38 minutes reading about the history of the piano. Her final work is to use a special finger exerciser.

Question: How much time does she have left to use this?
Answer: She has 120 minutes to practice because 2 x 60 = <<2*60=120>>120
She has already spent 93 minutes on her work because 30 + 25 + 38 = <<30+25+38=93>>93
She has 27 minutes to use on finger exercise because 120-93 = <<120-93=27>>27
#### 27
Bess and Holly are playing Frisbee at the park. Bess can throw the Frisbee as far as 20 meters and she does this 4 times. Holly can only throw the Frisbee as far as 8 meters and she does this 5 times. Each time Bess throws a Frisbee, she throws it back to her original position. Holly leaves her Frisbee where it lands every time she throws it.

Question: In total, how many meters have the thrown Frisbees traveled?
Answer: Bess throws the Frisbee out 4 times * 20 meters each time = <<4*20=80>>80 meters.
She then throws it back which doubles the distance traveled to 80 meters * 2 = <<80*2=160>>160 meters.
Holly throws the Frisbee out 5 times * 8 meters = <<5*8=40>>40 meters.
So in total, Holly and Bess have thrown the Frisbees 160 + 40 = <<160+40=200>>200 meters.
#### 200
Myrtle’s 3 hens lay 3 eggs a day. She would be gone for 7 days and told her neighbor to take as many as they would like. The neighbor took 12 eggs. Once home, Myrtle collected the remaining eggs, dropping 5 on the way into her house.

Question: How many eggs does Myrtle have?
Answer: She has 3 hens that lay 3 eggs a day so they lay 3*3 = <<3*3=9>>9 eggs a day
The hens lay 9 eggs a day and she wasn't able to collect them for 7 days so that means there are 9*7 = <<9*7=63>>63 eggs
Her neighbor took 12 off the 63 eggs so that leaves 63-12 = <<63-12=51>>51 eggs
Myrtle dropped 5 of the remaining 51 eggs so she has 51-5 = <<51-5=46>>46 eggs
#### 46
A restaurant is offering a fundraiser one day where they donate $2 for every $10  donated by customers. The average customer donates 3 and there are 40 customers that day.

Question: How much does the restaurant donate?
Answer: Customer donated a total of $120 because 40 x 3 = <<40*3=120>>120
They got $10 a total of 12 times because 120 / 10 = <<120/10=12>>12
They donated $24 because 12 x 2 = <<12*2=24>>24
#### 24
A group of 6 students organized a fundraiser to go to Nicaragua for the summer. For them to go on the trip, each of them needs at least $450. On top of that, they need $3000 for their miscellaneous collective expenses. On the first day of their fundraiser, they receive $600. On the second day, they receive $900, and on the third day, they receive $400. For the next 4 days, they receive only half of what they raised on the first 3 days.

Question: How much more money does each person need to raise for them to reach their goal?
Answer: All together, they need to raise ($450 x 6) + $3000 = $<<450*6+3000=5700>>5700
The raised $600 + $900 + $400 = $<<600+900+400=1900>>1900 the first 3 days.
For the next 4 days, they only raised $1900/2 = $<<1900/2=950>>950
In the week, they raised $1900 + $950 = $<<1900+950=2850>>2850
They still need $5700 - $2850 = $<<5700-2850=2850>>2850
Each person still needs $2850/6 = $<<2850/6=475>>475
#### 475
Janessa has a plan to give her brother Dexter his first collection of baseball cards. She currently has 4 cards in addition to the 13 that her father gave her. She ordered a collection of 36 cards from eBay. After inspecting the cards she found 4 cards are in bad shape and decides to throw them away. Janessa ended up giving Dexter 29 cards.

Question: How many cards did Janessa keep for herself?
Answer: Janessa starts with 4 cards + 13 cards = <<4+13=17>>17 cards.
She adds 17 cards + 36 cards = <<17+36=53>>53 cards from the eBay purchase.
Janessa decides to throw away 53 cards - 4 cards = <<53-4=49>>49 cards due to damage.
After giving Dexter the present we know that Janessa kept 49 cards - 29 cards = <<49-29=20>>20 cards for herself.
#### 20
Page collects fancy shoes and has 80 pairs in her closet. She decides to donate 30% of her collection that she no longer wears. After dropping off her donation, she treats herself and buys 6 more pairs to add to her collection.

Question: How many shoes does she have now?
Answer: She donates 30% of her 80 pairs of shoes so that’s .30*80 = <<30*.01*80=24>>24 pair of shoes she donates
She had 80 shoes in her collection and donates 24 so that leaves 80-24 = <<80-24=56>>56 pairs of shoes
She now has 56 pairs of shoes and buys 6 more pairs so her collection is now 56+6 = <<56+6=62>>62 pairs of shoes
#### 62
Bob ordered 80 packs of Greek yogurt from Costco to use for the month. However, when the delivery arrived, he realized 40% of the packs were expired. He decided to return those packs.

Question: If each pack was $12, how much was Bob refunded for the expired product?
Answer: The number of Greek yogurt packs that had expired is 40/100*80 = <<40/100*80=32>>32
If each pack of Greek yogurt was sold at $12, for the 32 packs of greek yogurt that he returned, Bob was refunded $12*32 = $<<12*32=384>>384
#### 384
Jackie can do 5 push-ups in 10 seconds.

Question: How many push-ups can she do in one minute if she takes two 8-second breaks?
Answer: There are 60 seconds per minute, so Jackie’s push-up routine takes 1 * 60 = <<60=60>>60 seconds.
Her breaks last 2 * 8 = <<2*8=16>>16 seconds.
She does push-ups for 60 - 16 = <<60-16=44>>44 seconds.
She can do a push-up in 10 / 5 = <<10/5=2>>2 seconds.
Therefore, Jackie can do 44 / 2 = <<44/2=22>>22 push-ups in one minute with breaks.
#### 22
A box of six popsicles was left out in the sun and is slowly melting. Every time a popsicle melts the remaining popsicles melt twice as fast as the previous one.

Question: How many times faster than the first popsicle does the last popsicle’s remains melt?
Answer: The remains of the second popsicle melt 2 * 1 = <<2*1=2>>2 times as fast as the first.
The remains of the third popsicle melt 2 * 2 = <<2*2=4>>4 times as fast as the first.
The remains of the fourth popsicle melt 2 * 4 = <<2*4=8>>8 times as fast as the first.
The remains of the fifth popsicle melt 2 * 8 = 16 times as fast as the first.
The remains of the sixth popsicle melt 2 * 16 = <<2*16=32>>32 times as fast as the first popsicle.
#### 32
Alex had 36 ounces of jelly beans. He ate 6 ounces. Then he divided the rest equally into 3 piles.

Question: How much does each pile weigh?
Answer: Start by taking out the ones he ate: 36 ounces - 6 ounces = <<36-6=30>>30 ounces.
Divide the remainder equally: 30 ounces / 3 piles = <<30/3=10>>10 ounces per pile.
#### 10
Samanta is planning a party for her friend Marta. She decided to raise some money among the guests she invited, to buy Marta a gift. Every participant gave Samanta $5 for this purpose and she herself put in $10. The gift cost was lower than expected, so there was $15 leftover.

Question: What was the price of the gift, if there were 12 guests invited?
Answer: From all the guests Samanta got $5/guest * 12 guests = $<<5*12=60>>60.
Including money Samanta put herself, she had $60 + $10 = $<<60+10=70>>70.
The cost of the gift was $70 - $15 = $<<70-15=55>>55.
#### 55
A father and a son start approaching each other at the same time from opposite ends of a hallway that is 16m long.

Question: If the father is walking three times as fast as the son, at what distance from the father's end of the hallway will they meet?
Answer: Since the father is walking 3 times as fast as his son, their speeds are in a ratio of 3:1 respectively
They started at the same time so they will cover distance at the same ratio of 3:1
Each portion of the distance they covered is 16/(3+1) = <<16/(3+1)=4>>4m
The father covered three portions of the distance which is 3*4m = <<3*4=12>>12m from his end
#### 12
Lightning McQueen, the race car, cost 140000$. Mater only cost 10 percent of that, and Sally McQueen cost triple what Mater costs.

Question: How much does Sally McQueen cost?
Answer: Mater:140000(.10)=14000$
Sally:14000(3)=42000$
#### 42000
Liz bought a recipe book that cost $6, a baking dish that cost twice as much, five ingredients that cost $3 each, and an apron that cost a dollar more than the recipe book.

Question: Collectively, how much in dollars did Liz spend?
Answer: The baking dish cost 6*2 = <<6*2=12>>12.
The ingredients cost 5*3 = <<5*3=15>>15.
The apron cost 6+1 = <<6+1=7>>7.
Collectively, Liz spend 6+12+15+7 = <<6+12+15+7=40>>40
#### 40
There are 40 ducks in a pond. 50 percent of the ducks are Muscovy and 30 percent of the Muscovies are female.

Question: How many female Muscovy ducks there?
Answer: Muscovies: 40(.50)=<<40*.50=20>>20 Muscovy ducks
Female Muscovies:20(.30)=6 ducks
#### 6
Kristy baked cookies because her friends are coming over to her house. She ate 2 of them and gave her brother 1 cookie. Her first friend arrived and took 3 cookies. The second and third friends to arrive took 5 cookies each.

Question: If there are 6 cookies left, how many cookies did Kristy bake?
Answer: There were 6 + 5 = <<6+5=11>>11 cookies left before the third friend took 5.
There were 11 + 5 = <<11+5=16>>16 cookies left before the second friend took 5.
There were 16 + 3 = <<16+3=19>>19 cookies left before the first friend took 3.
There were 19 + 1 = <<19+1=20>>20 cookies left before Kristy gave 1 cookie to her brother.
There were 20 + 2 = <<20+2=22>>22 cookies that Kristy baked.
#### 22
A hairstylist charges $5 for a normal haircut, $6 for a special haircut, and $8 for a trendy haircut.

Question: If he cuts 5 normal haircuts, 3 special haircuts, and 2 trendy haircuts per day, how much money does he earn per week?
Answer: The hairstylist earns $5 x 5 = $<<5*5=25>>25 for a normal haircut per day.
He earns $6 x 3 = $<<6*3=18>>18 for a special haircut.
And he earns $8 x 2 = $<<8*2=16>>16 for a trendy haircut.
So, the total amount he earns per day is $25 + $18 + $16 = $<<25+18+16=59>>59.
Therefore, a hairstylist earns $59 x 7= $<<59*7=413>>413 per month.
#### 413
Cassidy is grounded for 14 days for lying about her report card, plus 3 extra days for each grade below a B.

Question: If Cassidy got four grades below a B, how long is she grounded for?
Answer: First find how many days Cassidy is grounded for the low grades: 4 grades * 3 days/grade = <<4*3=12>>12 days
Then add that time to the 14 days she's grounded for lying to find the total grounding length: 12 days + 14 days = <<12+14=26>>26 days
#### 26
Mildred and Candice went to the market. Mildred spent $25 while Candice spent $35.

Question: If their mom gave them $100 to spend, how much will be left with them after spending?
Answer: Mildred and Candice spent $25 + $35 = $<<25+35=60>>60 in total.
Therefore, they were left with $100 - $60 = $<<100-60=40>>40 after spending.
#### 40
James buys pistachios for $10 per can. Each can is 5 ounces. He eats 30 ounces of pistachios every 5 days.

Question: How much does he spend on pistachios per week?
Answer: The pistachios cost 10/5=$<<10/5=2>>2 per ounce
He eats 30/5=<<30/5=6>>6 ounces of pistachios a day
So he spends 6*2=$<<6*2=12>>12 per day on pistachios
So he spends 12*7=$<<12*7=84>>84 per week
#### 84
Timmy's parents have a 2 car garage, which has both cars inside it. Also inside is a riding lawnmower, a bicycle for Timmy as well as each of his parents, a tricycle for Timmy's little brother Joey, and a unicycle that Timmy's dad practices riding on.

Question: How many wheels in total are in this garage?
Answer: Each car in the garage has 4 wheels, for a total of 4*2=<<4*2=8>>8 wheels.
The riding lawnmower has 4 wheels, bringing the total up to 8+4=12 wheels.
The bicycles have 2 wheels each and there are 3 of them, for 3*2=6 wheels, bringing the total to 12+6= 18.
The tricycle has 3 wheels, and the unicycle has 1 wheel, bringing the total up to 18+1+3= 22 wheels
#### 22
Tom needs to buy a new gaming system. He trades in his super Nintendo for an original NES. The SNES is worth $150 and the store gives him 80% of that value. He gives $80 and gets back $10 change and a game worth $30.

Question: How much was the NES on sale for?
Answer: He traded in the SNES for 150*.8=$<<150*.8=120>>120
Including the money he gave, he spent 120+80=$<<120+80=200>>200
He got 10+30=$<<10+30=40>>40 in change
So the NES cost 200-40=$<<200-40=160>>160
#### 160