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

Ex Input:
Sentence1: 'a red motorcycle parked along a street near some small trees', Sentence2: 'a bride and groom cut their wedding cake'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a passenger jet that has been docked to the terminal', Sentence2: 'a street sign slightly bent toward the right'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'young school boys smiling and posing on a stone wall', Sentence2: 'cat on top of pole looking out a window'. Is the frequency of the word 'on' in two sentences equal?

Ex Output:

Yes