Task: Program Execution
Input (English): Sentence: 'a teddy bear riding a toy horse by a tree'. How many words end with the letter 'y' in the sentence.
Output (English): 3