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 boy and a girl playing with frisbee in the lawn', Sentence2: 'a woman in a bikini riding a bike'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a female tennis player in a black top playing tennis', Sentence2: 'a group of girls with umbrellas in the sand'. Is the frequency of the word 'in' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'two white bears on the rocky shore of some water', Sentence2: 'a couple of giraffes in their zoo enclosure'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes