Task: Program Execution
Input (English): Sentence: 'a hot dog in a bun sitting beside the hotdog bag'. How many words end with the letter 'g' in the sentence.
Output (English): 4