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

Input: Consider Input: Sentence1: 'man wearing a false beard along with female friend cutting cake together', Sentence2: 'a polar bear taking a swim in the water'. Is the frequency of the word 'together' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a bench near a lake and grass', Sentence2: 'two people play frisbee on the sand barefoot'. Is the frequency of the word 'bench' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a cake being cut by people in the military', Sentence2: 'two people play frisbee on the sand barefoot'. Is the frequency of the word 'people' in two sentences equal?
Output: Yes