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

Ex Input:
Sentence1: 'horses pull a carriage through a quaint street', Sentence2: 'a sign is attached to a wooden pole'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'old tower with two visible large clocks on the sides', Sentence2: 'a red fire hydrant with writing on it near a curb'. Is the frequency of the word 'on' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'the motorcycle riders are attempting very difficult tricks', Sentence2: 'two adult sheep surrounding a lam near a gate'. Is the frequency of the word 'are' in two sentences equal?

Ex Output:

No