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 person holding a mini skate board wearing safety gear', Sentence2: 'a herd of sheep gather together to eat green grass'. Is the frequency of the word 'to' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the boy wearing the number 14 is getting ready to bat', Sentence2: 'a man is is holding a hotdog loaded with lots of toppings'. Is the frequency of the word 'ready' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a tray with four different types of food', Sentence2: 'a flag flying with kites all around it'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes