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 man riding a wave on top of a surfboard', Sentence2: 'a photograph of a person sitting on a toilet seat'. Is the frequency of the word 'top' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of elephants walking through a grassy field', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'group' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'three wine glasses partially filled with red wine', Sentence2: 'a green and white utility truck driving on dirt road'. Is the frequency of the word 'and' in two sentences equal?
Example Output:
No