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 man in a white uniform holds a bat with two other men on a baseball field', Sentence2: 'a meal is sitting on plates and a tray'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'these donuts have a lot of frosting on them', Sentence2: 'a man on stage while holding a tennis racket'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man sitting in front of a pizza on top of a white paper', Sentence2: 'a number of people holding umbrellas on a city street'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes