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

Example Input: Sentence1: 'there is a white and beige dog sitting on the floor', Sentence2: 'a group of people and cow outside of a hut'. Is the frequency of the word 'is' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a bunch of apples are laying on a stonelike surface', Sentence2: 'this man is smiling in front of two clocks'. Is the frequency of the word 'this' in two sentences equal?
Example Output:
No