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

Example Input: Sentence1: 'the two motorcycle officers have flags on their back', Sentence2: 'the two dogs are playing outside with a frisbee'. Is the frequency of the word 'the' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a couple sits in separate parts of the bedroom working on their laptops', Sentence2: 'five people standing in the snow with skis'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'signs in front of a diner on the streets of a busy and compact road', Sentence2: 'a young boy sitting at a window side table eating a donut'. Is the frequency of the word 'window' in two sentences equal?
Example Output:
No