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 person carrying a surfboard on a beach', Sentence2: 'the seat of the toilet is made out of a dark wood'. Is the frequency of the word 'dark' 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: 'white sunglasses sitting on top of a laptop', Sentence2: 'an old boat sits on a trailer hitch'. Is the frequency of the word 'sitting' in two sentences equal?
Example Output:
No