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

Input: Consider 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?

Output: Yes

Input: Consider Input: Sentence1: 'a male skateboarder in a black shirt is skating', Sentence2: 'little children visit the krispy kreme factory with their mother'. Is the frequency of the word 'factory' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?
Output: Yes