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

### Instruction:
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.  How much was the NES on sale for?

### Response:
 เขาได้รับ 150 * 0.8 = $<<150*.8=120>>120 จากการแลก SNES
เขาให้เงินทั้งหมด 120 + 80 = $<<120+80=200>>200
เขาได้รับเงินทอน 10 + 30 = $<<10+30=40>>40
ดังนั้น NES มีราคา 200 - 40 = $<<200-40=160>>160