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

Ex Input:
Sentence1: 'man wearing a false beard along with female friend cutting cake together', Sentence2: 'a polar bear taking a swim in the water'. Is the frequency of the word 'together' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'signs in front of a diner on the streets of a busy and compact road', Sentence2: 'a black and white photo of two women and a bbq'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a woman is standing in the kitchen cooking a meal', Sentence2: 'a woman sitting on a bed talking on the phone'. Is the frequency of the word 'woman' in two sentences equal?

Ex Output:

Yes