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 holding a basketball in his hands in the dark', Sentence2: 'a man stands in front of a safari jeep and a horse'. Is the frequency of the word 'man' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a airplane that is flying in the sky', Sentence2: 'a big metal clock on the side of a building'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
No