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 flag flying with kites all around it', Sentence2: 'spoons that are sitting in a glass jar on a table'. Is the frequency of the word 'jar' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two medium sized sheepskin standing on grass land', Sentence2: 'a beautiful young lady holding a tennis racquet on top of a court'. Is the frequency of the word 'tennis' in two sentences equal?
Example Output: No

Example 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?
Example Output:
Yes