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

Ex Input:
Sentence1: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a giraffe lays down on the grass as a bird stands in the background'. Is the frequency of the word 'waterfall' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a man at a table with his computer and a cat', Sentence2: 'a young man is standing away from the traffic'. Is the frequency of the word 'is' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a persons hands scrolling and clicking on their laptop computer', Sentence2: 'a gray and white bird standing in the sand'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:

Yes