Task: Program Execution
Input (English): Sentence1: 'a teddy bear on a chair in front of a bookshelf', Sentence2: 'a yellow train is on the railroad tracks'. Is the frequency of the word 'on' in two sentences equal?
Output (English): Yes