In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'a man holding a basketball in his hands in the dark', Sentence2: 'a man stands in front of a safari jeep and a horse'. Is the frequency of the word 'man' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'the jumping dog has caught a frisbee with its teeth', Sentence2: 'a woman sitting on a couch holding a smart phone'. Is the frequency of the word 'holding' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the two motorcycle officers have flags on their back', Sentence2: 'a bedroom with a bed window and radiator'. Is the frequency of the word 'officers' in two sentences equal?
Example Output:
No