Task: Program Execution
Input (English): Sentence1: 'a can is sitting on top of a dog', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'on' in two sentences equal?
Output (English): Yes