In the given sentence, the pronoun "He" refers to the antecedent "John," and the pronoun "it" refers to the antecedent "apple."
John had an apple. He ate it.
### Instruction:
Resolve the pronoun to the antecedent it refers to.

### Input:
John had an apple. He ate it.

### Response:
