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

Input: Consider 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?

Output: No

Input: Consider Input: Sentence1: 'a baseball player holding a bat on a field', Sentence2: 'a silver bucket a white and blue curtain an apple and a controller'. Is the frequency of the word 'white' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'black and white photograph of flowers in a vase', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'in' in two sentences equal?
Output: Yes