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 female tennis player in a black top playing tennis', Sentence2: 'a group of girls with umbrellas in the sand'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'cat on top of pole looking out a window', Sentence2: 'some little boys playing soccer close to the goal'. Is the frequency of the word 'pole' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the chocolate cake has strawberries on the top', Sentence2: 'the man is playing tennis on the court'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes