Task: Program Execution
Input (English): Sentence: 'a man is riding a horse by a river'. How many words end with the letter 'y' in the sentence.
Output (English): 1