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 white people at a small partygathering', Sentence2: 'a number of luggage bags on the ground near each other'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people standing behind a line of parked motorcycles', Sentence2: 'cat on top of pole looking out a window'. Is the frequency of the word 'a' in two sentences equal?
Example Output: 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