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 baby wearing a pink top is sleeping in bed with some pillows', Sentence2: 'a man sitting on top of a train traveling through a forest hillside'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people standing behind a line of parked motorcycles', Sentence2: 'a double decker bus driving down the street'. Is the frequency of the word 'of' in two sentences equal?
Example Output: 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 'legged' in two sentences equal?
Example Output:
No