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: 'an elephants foot with what appears to be a sandal on', Sentence2: 'a yellow commuter train traveling through a train station'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a woman brushing her teeth and a towel on her head', Sentence2: 'a man walking in front of a grand building'. Is the frequency of the word 'building' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a little boy holding a baseball and wearing a glove', Sentence2: 'two elephants facing each other and touching heads'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION:
Yes