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 group of objects that look like old scissors', Sentence2: 'a box of cookies with a plastic bear with a bag over its head'. Is the frequency of the word 'box' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man flying through the air while riding a skateboard', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man is is holding a hotdog loaded with lots of toppings', Sentence2: 'a man in a suit and sunglasses takes a selfie'. Is the frequency of the word 'man' in two sentences equal?
Example Output:
Yes