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 lot of plants and greenery with a train in the background', Sentence2: 'two giraffes are walking through tall grass in open plains'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of people riding skateboards at a skate park', Sentence2: 'this is a tray with food and a drink on it'. Is the frequency of the word 'riding' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a plate of food on a table', Sentence2: 'a cat sitting on top of a piece of electronic equipment'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No