In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'the motorcycle is equipped with all the latest gadgets', Sentence2: 'a group of people kiteboarding on top of the ocean'. Is the frequency of the word 'latest' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'there is a white and beige dog sitting on the floor', Sentence2: 'a group of people and cow outside of a hut'. Is the frequency of the word 'is' 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