Given a sentence, change it to past tense.
I am eating an apple.
I ate an apple.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a sentence, change it to past tense.

### Input:
I am eating an apple.

### Output:
I ate an apple.