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 flock of birds some on the ground others are perched on a park bench', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'perched' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a group of objects that look like old scissors', Sentence2: 'a box of cookies with a plastic bear with a bag over its head'. Is the frequency of the word 'of' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'two women about to take a ride on an elephant', Sentence2: 'a baseball player holding a bat on a field'. Is the frequency of the word 'field' in two sentences equal?

Ex Output:

No