In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Input: Consider Input: Sentence1: 'a group of seagulls and one long legged bird with a long thin beak standing in the sand of a shore line', Sentence2: 'these fellows are too large to be riding the childrens toys upon which they are seated'. Is the frequency of the word 'to' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a brightly colored bus drives down the street next to a wall', Sentence2: 'back view of a zebra walking through the grass'. Is the frequency of the word 'street' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a man surfing a wave in the ocean', Sentence2: 'a boy taking a picture of himself in mirror'. Is the frequency of the word 'a' in two sentences equal?
Output: Yes