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 stop sign sits in front of a building', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a clock tower view from the bottom of the tower', Sentence2: 'individuals taking picture and posturing before a polaroid'. Is the frequency of the word 'bottom' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a baby is in the sink holding a toothbrush'. Is the frequency of the word 'the' in two sentences equal?

Ex Output:

Yes