Definition: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Input: Sentence1: 'a man with a helmet is on a surfboard', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'a' in two sentences equal?
Output:
No