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 group of objects that look like old scissors', Sentence2: 'a box of cookies with a plastic bear with a bag over its head'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of people riding kite boards on top of the ocean', Sentence2: 'pedestrians walk in the street passed a stop sign'. Is the frequency of the word 'in' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of giraffes in a closed in environment near a building', Sentence2: 'the large grey sofas have throw pillows on them'. Is the frequency of the word 'grey' in two sentences equal?
Example Output:
No