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 room containing a television and a lounge chair with books on it', Sentence2: 'a cat sitting on top of a piece of electronic equipment'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a little girl is on a skateboard wearing shorts', Sentence2: 'a man with a helmet is on a surfboard'. Is the frequency of the word 'girl' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'there is a white and beige dog sitting on the floor', Sentence2: 'a plate of pizza on a plate on top of a table'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
No