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 tennis player running and swinging a tennis racquet', Sentence2: 'someone is standing outside in the snow holding a glass of wine'. Is the frequency of the word 'outside' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man wearing glasses sitting in a chair while a cat lays behind him', Sentence2: 'a man holding up an umbrella near other umbrellas'. Is the frequency of the word 'an' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'an image of a train going down the railroad track', 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