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 yellow fire hydrant with chains hanging from its sides', Sentence2: 'there is a car and a box trucked parked in a lot across from an airport'. Is the frequency of the word 'hydrant' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a passenger jet that has been docked to the terminal', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes