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 standing on top of a lush green field', Sentence2: 'a house with a door and window has a bench in front of it surrounded by bushes'. Is the frequency of the word 'herd' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man walking in front of a grand building', Sentence2: 'a white street sign sitting on the side of a driveway'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a woman looking at her cellphone in the middle of crowd', Sentence2: 'the motorcycle is equipped with all the latest gadgets'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
No