Task: Program Execution
Input (English): Sentence: 'a herd of elephants grazing near a body of water'. How many words end with the letter 'y' in the sentence.
Output (English): 1