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

Example Input: Sentence1: 'the two motorcycle officers have flags on their back', Sentence2: 'the two dogs are playing outside with a frisbee'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'the toilet is in a separate area away from the sink', Sentence2: 'an oregon round clock hung from the ceiling'. Is the frequency of the word 'the' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people with umbrellas on a road', Sentence2: 'kitchen counter scene of wooden cabinets and dozens of knives hanging from them'. Is the frequency of the word 'cabinets' in two sentences equal?
Example Output:
No