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

Example Input: Sentence1: 'five ladies sitting together at a tale outside a restaurant', Sentence2: 'a game of tennis is being played on a court as an audience looks on'. Is the frequency of the word 'restaurant' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a dessert has icing and other toppings on it', Sentence2: 'a couch a table with chairs and a microwave'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of people watch another group with an elephant', Sentence2: 'a knife on a handcrafted wooden cutting board'. Is the frequency of the word 'cutting' in two sentences equal?
Example Output:
No