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 young boy stands atop a beginner skateboard in the house', Sentence2: 'signs in front of a diner on the streets of a busy and compact road'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a yellow sign on a sidewalk says diversion ends', Sentence2: 'buildings with a clock and lampposts along a street'. Is the frequency of the word 'buildings' in two sentences equal?
Example Output:
No