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

Sentence1: 'the chocolate cake has strawberries on the top', Sentence2: 'the man is playing tennis on the court'. Is the frequency of the word 'on' in two sentences equal?
Yes

Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a football player wearing a uniform on a football field'. Is the frequency of the word 'messy' in two sentences equal?
No

Sentence1: 'woman waiting at end of curb for train to open its doors', Sentence2: 'electric train in progress on one of two tracks'. Is the frequency of the word 'of' in two sentences equal?

Yes