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 silver bucket a white and blue curtain an apple and a controller', Sentence2: 'a group of people surfing the waves on boards in the ocean'. Is the frequency of the word 'boards' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a man is running while carrying a football', Sentence2: 'there are two boys playing soccer with a woman'. Is the frequency of the word 'a' in two sentences equal?

SOLUTION: No

PROBLEM: Sentence1: 'a black and white dog wearing a red coat on a bed', Sentence2: 'a wrought iron gate with a message and a large clock'. Is the frequency of the word 'and' in two sentences equal?

SOLUTION:
Yes