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 brown and white cake a candle and a girl', Sentence2: 'a smiling person taking an elephant ride near the handler'. Is the frequency of the word 'person' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a red bench sitting underneath a widow against wall', Sentence2: 'a man flying through the air on a  skateboard'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: Yes

PROBLEM: Sentence1: 'someone is standing outside in the snow holding a glass of wine', Sentence2: 'a man sitting in front of a pizza on top of a white paper'. Is the frequency of the word 'of' in two sentences equal?

SOLUTION:
No