Task: Program Execution
Input (English): Sentence1: 'a man with a pointer in front of a class', Sentence2: 'a teddy bear on a chair in front of a bookshelf'. Is the frequency of the word 'of' in two sentences equal?
Output (English): Yes