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 living area with people sitting on couch next to bookshelf', Sentence2: 'two people riding on top of two elephants'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a women that has a bird in her lap', Sentence2: 'a young boy catching a ground ball in a ball park'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a cat lounges on a ledge in front of a window', Sentence2: 'a person carrying a surfboard on a beach'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes