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 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 woman holding an owl on her arm', Sentence2: 'the polar bear is laying on the snow'. Is the frequency of the word 'is' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two people are sitting with hot dogs and fries on their laps and one is holding a diet coke and the other a diet pepsi', Sentence2: 'a woman with a tooth brush in her mouth stares into a mirror'. Is the frequency of the word 'hot' in two sentences equal?
Example Output:
No