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 woman is jumping in the air while playing tennis', Sentence2: 'a dog jumping up into the air catching a frisbee'. Is the frequency of the word 'catching' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'in an old black and white photo men are riding horses', Sentence2: 'a person is sleeping on one side of the bed'. Is the frequency of the word 'person' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'an army transport truck sitting near a forest', Sentence2: 'a smiling person taking an elephant ride near the handler'. Is the frequency of the word 'an' in two sentences equal?
Example Output:
Yes