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

### Instruction:
A farmer is growing corn. For every 4 seeds he plants, he gets one ear of corn, that he can sell for $.1. It costs $.5 for a bag with 100 seeds. If he makes $40 in profit, how many ears did he sell?

### Response:
 เขาปลูกเมล็ดพันธุ์ 25 เมล็ด
เขาได้หัวข้าวโพด 25 หัว
เขาขายหัวข้าวโพด 500 หัว