Task: Program Execution
Input (English): Sentence: 'many flags are hung up on a busy beach'. How many words end with the letter 'y' in the sentence.
Output (English): 2