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

Example Input: Sentence1: 'two sheep on a hill with green grass', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a beautiful young lady holding a tennis racquet on top of a court', Sentence2: 'an army transport truck sitting near a forest'. Is the frequency of the word 'sitting' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'some people are in a row boat on a lake', Sentence2: 'a woman on skis holding one hand up with a pole'. Is the frequency of the word 'boat' in two sentences equal?
Example Output:
No