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 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: 'a woman sitting at a table eating a piece of pizza', Sentence2: 'a small girl in a brown and pink dress and a brown cake with two candles'. Is the frequency of the word 'cake' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'an older gentleman leaning against an old airplane', Sentence2: 'an umpire wand players watching the batter slide into first base'. Is the frequency of the word 'leaning' in two sentences equal?
Example Output:
No