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 large clock mounted in the face of a building', Sentence2: 'a boy and a girl playing with frisbee in the lawn'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a computer screen and keyboard on a desk', 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