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

Example Input: Sentence1: 'two men are singing in different colored striped costumes', Sentence2: 'a couple of men standing next to each other on a tennis court'. Is the frequency of the word 'men' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a bench near a lake and grass', Sentence2: 'two people play frisbee on the sand barefoot'. Is the frequency of the word 'bench' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a collection of food is sitting on a counter', Sentence2: 'a black and white photo of a person with a frisbee'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes