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 black and white photo of a bus', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a vase with a bird on it and a matching wineglass with flowers on it', Sentence2: 'this is a man doing a trick on a board'. Is the frequency of the word 'on' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a person cutting radishes on a green cutting board in a kitchen', Sentence2: 'a bamboo basket sitting on top of a bicycles handle bars'. Is the frequency of the word 'person' in two sentences equal?
Example Output:
No