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

Example Input: Sentence1: 'an image of a white and yellow plane about to take flight', Sentence2: 'two men are singing in different colored striped costumes'. Is the frequency of the word 'to' 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

Example Input: Sentence1: 'plates full of sugared and iced donuts and other pastries', Sentence2: 'a photograph of a person sitting on a toilet seat'. Is the frequency of the word 'sitting' in two sentences equal?
Example Output:
No