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: 'the fire hydrant has a over grown bush growing by it', Sentence2: 'people doing work and playing games on laptops'. Is the frequency of the word 'on' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a young man is alone in the grass trying to catch a frisbee', Sentence2: 'three oranges and a banana in the shape of a smile'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION:
Yes