Task: Program Execution
Input (English): Sentence: 'a white cloth with scissors a needle thread and measuring tape resting on top'. How many words end with the letter 'g' in the sentence.
Output (English): 2