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 living room complete with a couch sliding door and a window', Sentence2: 'a man with a pointer in front of a class'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a football player wearing a uniform on a football field'. Is the frequency of the word 'messy' in two sentences equal?

Ex Output:
No


Ex Input:
Sentence1: 'a woman holding a briefcase in a smoky forest', Sentence2: 'a group of people outside a bus near some tables and chairs'. Is the frequency of the word 'smoky' in two sentences equal?

Ex Output:

No