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 stands on the grass with a frisbee as her dog patiently waits', Sentence2: 'a large bag filled with clothes and shoes'. Is the frequency of the word 'waits' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people standing behind a line of parked motorcycles', Sentence2: 'cat on top of pole looking out a window'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a black cat standing on a wooden floor with a carrot in front', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'tied' in two sentences equal?
Example Output:
No