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

Example Input: Sentence1: 'two rooms of a house are left in disarray on moving day', Sentence2: 'a man swinging a tennis racket at a tennis ball'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a train going through town via railroad', Sentence2: 'people shaking hands across a tennis net while other couples play behind them'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'an adult and a child with a plate of food', Sentence2: 'a collection of food is sitting on a counter'. Is the frequency of the word 'and' in two sentences equal?
Example Output:
No