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 dessert has icing and other toppings on it', Sentence2: 'a couch a table with chairs and a microwave'. Is the frequency of the word 'on' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man sitting on a sofa with a laptop', Sentence2: 'a half eaten red velvet cupcake on a cardboard box'. Is the frequency of the word 'sofa' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a yellow sign on a sidewalk says diversion ends', Sentence2: 'a green slope is full of canoes up on the grass'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes