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 man riding a wave on top of a surfboard', Sentence2: 'a sandwich sitting on top of a frying pan'. Is the frequency of the word 'sandwich' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a game of tennis is being played on a court as an audience looks on', Sentence2: 'many giraffes in a field near different flowers'. Is the frequency of the word 'giraffes' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a clock tower in front of some buildings', Sentence2: 'the two motorcycle officers have flags on their back'. Is the frequency of the word 'clock' in two sentences equal?
Example Output:
No