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: '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 bathroom is in terrible shape and is in need of a deep cleaning', Sentence2: 'a small boy cuddled up with a large stuffed teddy bear'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'a man is walking down a main street', Sentence2: 'a bowl of vegetables with a spoon sitting on a table'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION:
No