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

Ex Input:
Sentence1: 'people playing a game in a wood gated field', Sentence2: 'a teddy bear sits next to a small pair of black boots'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a train going through town via railroad', Sentence2: 'a parent is pulling their child down the ski slope'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'people flying traditional kites over water in a large city', Sentence2: 'the bird is an owl flying low above the grass'. Is the frequency of the word 'in' in two sentences equal?

Ex Output:

No