In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a man wearing glasses sitting in a chair while a cat lays behind him', Sentence2: 'a sandwich and salad and fries with a dip'. Is the frequency of the word 'and' in two sentences equal?