Task: Program Execution
Input (English): Sentence: 'two gentleman in uniform cutting a celebratory cake'. How many words end with the letter 'g' in the sentence.
Output (English): 1