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

Ex Input:
Sentence1: 'in an old black and white photo men are riding horses', Sentence2: 'a person is sleeping on one side of the bed'. Is the frequency of the word 'person' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a young boy stands atop a beginner skateboard in the house', Sentence2: 'signs in front of a diner on the streets of a busy and compact road'. Is the frequency of the word 'in' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a brown bull is standing in his pen and some trees', Sentence2: 'a road sign sitting next to a road and a building'. Is the frequency of the word 'building' in two sentences equal?

Ex Output:

No