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 train has graffiti and windows on it', Sentence2: 'a herd of elephants traveling together on a dirt pasture'. Is the frequency of the word 'on' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'there is a man skateboarding on the street', Sentence2: 'a brown bull is standing in his pen and some trees'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'an overhead shot of various foods and sauces', Sentence2: 'a view of a door from the middle of a living room'. Is the frequency of the word 'the' in two sentences equal?

Ex Output:

No