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 black and white photo of a bus', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a stop sign sits in front of a building', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a group of people watch another group with an elephant', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No