Task: Program Execution
Input (English): Sentence: 'a surfer is riding a yellow surf board as he hits the waves'. How many words end with the letter 'g' in the sentence.
Output (English): 1