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 seagulls and one long legged bird with a long thin beak standing in the sand of a shore line', Sentence2: 'a large bag filled with clothes and shoes'. Is the frequency of the word 'with' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'there is a man who is riding on his skateboard', Sentence2: 'two small polar bears are wet and standing on rocks'. Is the frequency of the word 'are' in two sentences equal?
Example Output:
No

