Task: Program Execution
Input (English): Sentence1: 'a black and white dog wearing a red coat on a bed', Sentence2: 'two people riding on top of two elephants'. Is the frequency of the word 'on' in two sentences equal?
Output (English): Yes