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 holding a tennis ball and a racquet', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'riding' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'old tower with two visible large clocks on the sides', Sentence2: 'a red fire hydrant with writing on it near a curb'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'an adult and a child with a plate of food', Sentence2: 'a collection of food is sitting on a counter'. Is the frequency of the word 'food' in two sentences equal?
Example Output:
Yes