Below is an instruction that describes a task. Write a response that appropriately completes the request in Thai. Please answer in Thai.

### Instruction:
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?

### Response:
 ราคาคู่รองที่ถูกกว่าหลังจากส่วนลดคือ $40/2 = $<<40/2=20>>20
ราคารวมสองคู่รองรวมกัน $20 + $60 = $<<20+60=80>>80
ส่วนลดสุดท้ายคือ $80/4 = $<<80/4=20>>20
ราคาที่เจมส์จ่าย $80 - $20 = $<<80-20=60>>60