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 partially eaten pizza with empty plate in foreground', Sentence2: 'a tennis player with a racket and a ball'. Is the frequency of the word 'ball' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a person sitting on a bench looking at a field and skyline', Sentence2: 'a woman sitting on a couch holding a smart phone'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man swinging a tennis racket at a tennis ball', Sentence2: 'a batter has swung at the ball while the crowd is watching'. Is the frequency of the word 'ball' in two sentences equal?
Example Output:
Yes