TASK DEFINITION: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
PROBLEM: Sentence1: 'a man holding a surfboard on top of a sandy beach', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'dressed' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a silver bucket a white and blue curtain an apple and a controller', Sentence2: 'a group of people surfing the waves on boards in the ocean'. Is the frequency of the word 'boards' in two sentences equal?

SOLUTION: No

PROBLEM: 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 'with' in two sentences equal?

SOLUTION:
Yes