James was doing some shopping in his favorite shop and he saw an offer on shoes that give him a second pair of shoes for half off the original price. He took the offer and took the first pair of shoes for $40 and the second one for $60. At the cashier, the lady told him that the offer applies strictly to the cheaper pair of shoes, and also that he was selected for an extra discount of a fourth off the total amount. How much money did James end up paying for both pairs of shoes? Let's think step by step and output the final answer after "####".
user
The price of the cheaper pair after the discount was $40/2 = $<<40/2=20>>20
The total price of both pairs of shoes $20 + $60 = $<<20+60=80>>80
The final discount was $80/4 = $<<80/4=20>>20
The price he ends up paying was $80 - $20 = $<<80-20=60>>60
#### 60
James was doing some shopping in his favorite shop and he saw an offer on shoes that give him a second pair of shoes for half off the original price. He took the offer and took the first pair of shoes for $40 and the second one for $60. At the cashier, the lady told him that the offer applies strictly to the cheaper pair of shoes, and also that he was selected for an extra discount of a fourth off the total amount. How much money did James end up paying for both pairs of shoes?
train