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

Ex Input:
Sentence1: 'brown cow is looking toward the camera while the other two cow are eating grass', Sentence2: 'the polar bear is laying on the snow'. Is the frequency of the word 'polar' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'motor cycles parked at a rural gas station', Sentence2: 'five ladies sitting together at a tale outside a restaurant'. Is the frequency of the word 'motor' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'an animal on a grassy field of some sort', Sentence2: 'an umpire wand players watching the batter slide into first base'. Is the frequency of the word 'an' in two sentences equal?

Ex Output:

Yes