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 red bus drives through the icy streets of an old city', Sentence2: 'a stop sign that has been written on with white ink'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a tray with four different types of food', Sentence2: 'a flag flying with kites all around it'. Is the frequency of the word 'with' in two sentences equal?

SOLUTION:
Yes