Task: Program Execution
Input (English): Sentence: 'a living room with two cats one on a rug and one on a couch'. How many words end with the letter 'g' in the sentence.
Output (English): 2