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: 'the motorcycle riders are attempting very difficult tricks', Sentence2: 'girl holding homemade pizza on a big oven sheet'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman putting a sweater over a white parking meter', Sentence2: 'light shines in a utility room with shelves and a variety of items'. Is the frequency of the word 'shelves' in two sentences equal?
Example Output:
No