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 terrier sits on a messy bed in front of the window', Sentence2: 'a football player wearing a uniform on a football field'. Is the frequency of the word 'messy' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a giraffe lays down on the grass as a bird stands in the background'. Is the frequency of the word 'waterfall' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man standing in the rain with an umbrella', Sentence2: 'a person on skis high in the air at night'. Is the frequency of the word 'umbrella' in two sentences equal?
Example Output:
No