Task: Program Execution
Input (English): Sentence1: 'this is a man running on the sandy beach', Sentence2: 'a man wearing a uniform and riding a black horse'. Is the frequency of the word 'man' in two sentences equal?
Output (English): Yes