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 dog is seated in a dog bed on a wood floor with a rug nearby', Sentence2: 'a ski boarder is airborne on a snow covered slope'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man riding a wave on top of a surfboard', Sentence2: 'a photograph of a person sitting on a toilet seat'. Is the frequency of the word 'top' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a crosscountry skier alone down a treelined path', Sentence2: 'two people play frisbee on the sand barefoot'. Is the frequency of the word 'sand' in two sentences equal?
Example Output:
No