In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer '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: 'multiple electronic items displayed on busy desk top', Sentence2: 'two black and white cats are sitting on a tile floor'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a beautiful woman holding a tennis racquet on a tennis court', Sentence2: 'a flock of birds some on the ground others are perched on a park bench'. Is the frequency of the word 'are' in two sentences equal?
Example Output:
No