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: 'five ladies sitting together at a tale outside a restaurant', Sentence2: 'a game of tennis is being played on a court as an audience looks on'. Is the frequency of the word 'restaurant' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a group of elephants are gathered on the dry banks of a riverbed', Sentence2: 'a man sitting on top of a train traveling through a forest hillside'. Is the frequency of the word 'man' in two sentences equal?

SOLUTION:
No