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: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a giraffe lays down on the grass as a bird stands in the background'. Is the frequency of the word 'waterfall' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a couple of elephant statues standing in a museum', Sentence2: 'a stop sign under a street lamp is shining at night'. Is the frequency of the word 'lamp' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'people on a car driving past elephants and a hippo', Sentence2: 'people gathered on the street dressed in costumes next to a rainbow sheet'. Is the frequency of the word 'people' in two sentences equal?

SOLUTION:
Yes