Task: Program Execution
Input (English): Sentence1: 'a polar bear taking a swim in the water', Sentence2: 'a polar bear taking a swim in the water'. Is the frequency of the word 'bear' in two sentences equal?
Output (English): Yes