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

Example Input: Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a remote controlled device travelling a path in a wooded area', Sentence2: 'a person is playing a remote controlled video game while others watch'. Is the frequency of the word 'remote' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of objects that look like old scissors', Sentence2: 'a bunch of people gathering inside of a room'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No