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: 'two young girls laying in bed under a blanket', Sentence2: 'a fire hydrant that is sitting on a sidewalk'. Is the frequency of the word 'under' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a boy in red pajamas standing by an open refrigerator', Sentence2: 'a teddy bear sitting in a park alone'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes