Task: Program Execution
Input (English): Sentence: 'a man rests in a hammock while another man sits nearby'. How many words end with the letter 'k' in the sentence.
Output (English): 1