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 very old looking oven sitting near the road', Sentence2: 'a man sitting on a couch next to a dog'. Is the frequency of the word 'sitting' 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: 'an image of group of people riding horses on the beach', Sentence2: 'an image of a cat with a bow around the neck'. Is the frequency of the word 'an' in two sentences equal?
Example Output:
Yes