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 train is going down a grassy train track', Sentence2: 'two people on a beach next to a towel cooler and parasol'. Is the frequency of the word 'to' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man holding up an umbrella near other umbrellas', Sentence2: 'a couple of men standing next to each other on a tennis court'. Is the frequency of the word 'court' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a stop sign in front of a beach in which a group of people in the water', Sentence2: 'professional motorcyclist in motion at a competition with crowd of fans'. Is the frequency of the word 'competition' in two sentences equal?
Example Output:
No