In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a man with a helmet is on a surfboard', Sentence2: 'a pizza sitting on top of a red checkered table cloth'. Is the frequency of the word 'on' in two sentences equal?