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 herd of sheep grazing on a green hillside', Sentence2: 'the toilet is in a separate area away from the sink'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of people in the street carrying umbrellas', Sentence2: 'a big tower that has a clock on top'. Is the frequency of the word 'has' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'the pair of kids in the green meadows fly a colorful kite', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
No