In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer '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 person holding a mini skate board wearing safety gear', Sentence2: 'a herd of sheep gather together to eat green grass'. Is the frequency of the word 'to' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'this is a picture of a cabinet in someones kitchen', Sentence2: 'a black and white photo of a magnifiying glass showing windows'. Is the frequency of the word 'glass' in two sentences equal?
Example Output:
No