Task: Program Execution
Input (English): Sentence1: 'a man sitting on top of a train traveling through a forest hillside', Sentence2: 'a cat sitting on top of a chair next to a red wall'. Is the frequency of the word 'on' in two sentences equal?
Output (English): Yes