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 couple of men standing next to each other on a tennis court', Sentence2: 'a kitchen counter sitting in the middle of a kitchen'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

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 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a person on snow skis looks down a snow covered ski slope surrounded by trees', Sentence2: 'this is a tray with food and a drink on it'. Is the frequency of the word 'it' in two sentences equal?
Example Output:
No