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

SOLUTION: No

PROBLEM: Sentence1: 'a boy holding his skateboard behind his head resting on his shoulders', Sentence2: 'a game of tennis is being played on a court as an audience looks on'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a man in a white uniform holds a bat with two other men on a baseball field', Sentence2: 'several people walking around horses in a wooded area'. Is the frequency of the word 'in' in two sentences equal?

SOLUTION:
Yes