Task: Program Execution
Input (English): Sentence1: 'a small potted plant of flowers on a table', Sentence2: 'a dog is seated in a dog bed on a wood floor with a rug nearby'. Is the frequency of the word 'on' in two sentences equal?
Output (English): Yes