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 living room complete with a couch sliding door and a window', Sentence2: 'a man with a pointer in front of a class'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'professional motorcyclist in motion at a competition with crowd of fans', Sentence2: 'a child kneeling on the foot rest of a recliner playing with a laptop'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'various pastries on display on shelves in a store', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No