Task: Program Execution
Input (English): Sentence: 'a close up of a cat sitting on an open laptop on a table'. How many words end with the letter 'g' in the sentence.
Output (English): 1