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 woman using a hair brush with red hair', Sentence2: 'a stop sign under a street lamp is shining at night'. Is the frequency of the word 'hair' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a living area with people sitting on couch next to bookshelf', Sentence2: 'two people riding on top of two elephants'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a sandwich on a green plate with a knife about to cut into it', Sentence2: 'a made up bed with a night stand and lamp'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No