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 boy and a girl playing with frisbee in the lawn', Sentence2: 'a woman in a bikini riding a bike'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a picture of big ben in the london skyline', Sentence2: 'two mallards float and drink water in a shallow pool'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'this is a man running on the sandy beach', Sentence2: 'a man wearing a uniform and riding a black horse'. Is the frequency of the word 'man' in two sentences equal?

Ex Output:

Yes