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 man riding a wave on top of a surfboard', Sentence2: 'a sandwich sitting on top of a frying pan'. Is the frequency of the word 'sandwich' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'two sheep on a hill with green grass', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a football player wearing a uniform on a football field', Sentence2: 'young school boys smiling and posing on a stone wall'. Is the frequency of the word 'player' in two sentences equal?

SOLUTION:
No