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 woman holding an umbrella standing next to a black dog', Sentence2: 'a man holding a flashlight hold an umbrella also'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'two giraffes walk across the planes with shrubbery in the background', Sentence2: 'two young children are brushing their teeth in the bathroom'. Is the frequency of the word 'two' in two sentences equal?
Example Output:
Yes