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: 'many giraffes in a field near different flowers', Sentence2: 'a bear sits on a park bench near a tree'. Is the frequency of the word 'near' in two sentences equal?

Output: Yes

Input: Consider Input: Sentence1: 'a woman sitting on a bed talking on the phone', Sentence2: 'a tall bird is standing by an oven'. Is the frequency of the word 'an' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a woman in glasses is holding a tennis racquet', Sentence2: 'a baby wearing a pink top is sleeping in bed with some pillows'. Is the frequency of the word 'is' in two sentences equal?
Output: Yes