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 room that has a table with chairs around it', Sentence2: 'a lot of plants and greenery with a train in the background'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'people gathered on the street dressed in costumes next to a rainbow sheet', Sentence2: 'a brown bull is standing in his pen and some trees'. Is the frequency of the word 'some' 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 'on' in two sentences equal?

SOLUTION:
Yes