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 yellow traffic signals sitting next to each other', Sentence2: 'a bear claw donut and a glazed donut on a white plate with a red coffee cup'. Is the frequency of the word 'and' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people with umbrellas on a road', Sentence2: 'kitchen counter scene of wooden cabinets and dozens of knives hanging from them'. Is the frequency of the word 'cabinets' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'several horses in a field with an old city in the background', Sentence2: 'a baseball player throwing the bat after hitting the ball'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes