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

Example Input: Sentence1: 'restored antique cars line up in a row at outdoor auto show', Sentence2: 'a dog jumping up into the air catching a frisbee'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a young man is alone in the grass trying to catch a frisbee', Sentence2: 'a man in blue and white is standing outside'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a frowning woman holding a piece of pizza in her right hand', Sentence2: 'a tall bird is standing by an oven'. Is the frequency of the word 'holding' in two sentences equal?
Example Output:
No