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 view of a door from the middle of a living room', Sentence2: 'a man riding down the side of a skateboard ramp'. Is the frequency of the word 'ramp' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a crosscountry skier alone down a treelined path', Sentence2: 'a bus with many people gathering to board'. Is the frequency of the word 'crosscountry' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a old photo shows a man with his two horses', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'photo' in two sentences equal?

Ex Output:

Yes