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 beautiful well lit bedroom with a bed in the middle', Sentence2: 'a person holding a mini skate board wearing safety gear'. Is the frequency of the word 'middle' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a man stands in front of some railroad tracks', Sentence2: 'two men standing in front of a large screen with white controllers'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a herd of elephants traveling together on a dirt pasture', Sentence2: 'a man catches a wave while surfing the ocean'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:

Yes