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

Example Input: Sentence1: 'cat on top of pole looking out a window', Sentence2: 'some little boys playing soccer close to the goal'. Is the frequency of the word 'pole' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a fire hydrant in a field with spiky plants', Sentence2: 'two giraffes grazing in the grass next to a tree'. Is the frequency of the word 'spiky' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a couple of yellow school buses parked next to each other', Sentence2: 'a boy sits on top of a suitcase and between two other stacks of luggage'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No