In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'cow looking over its enclosure while in an open pasture', Sentence2: 'a plate with a pizza and vegetables on it'. Is the frequency of the word 'over' 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 street sign slightly bent toward the right', Sentence2: 'a big clock hanging on a piece of wood in a building'. Is the frequency of the word 'hanging' in two sentences equal?
Example Output:
No