In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Sentence1: 'the two motorcycle officers have flags on their back', Sentence2: 'the two dogs are playing outside with a frisbee'. Is the frequency of the word 'the' in two sentences equal?
Yes

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?
Yes

Sentence1: 'a living room with a chair and a large window', Sentence2: 'various pastries on display on shelves in a store'. Is the frequency of the word 'with' in two sentences equal?

No