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

### Instruction:
Ivan buys 48 apples to make 24 full-size pies. He ends up not using as many as he thought because he decides to make mini pies instead of full-size ones, which only use 1/2 an apple each. If Ivan bakes 24 mini pies, how many apples does he have leftover?

### Response:
 อิวานใช้แอปเปิ้ล 12 ลูกเพื่อทำพายขนาดเล็ก
อิวานมีแอปเปิ้ลเหลือ 48 - 12 = <<48-12=36>>36 ลูก