Task: Program Execution
Input (English): Sentence: 'three people standing by a brown horse watching other people on horses'. How many words end with the letter 'g' in the sentence.
Output (English): 2