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 terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'signs in front of a diner on the streets of a busy and compact road', Sentence2: 'a black and white photo of two women and a bbq'. Is the frequency of the word 'a' in two sentences equal?

Ex Output:
Yes


Ex Input:
Sentence1: 'a small potted plant of flowers on a table', Sentence2: 'a dog is seated in a dog bed on a wood floor with a rug nearby'. Is the frequency of the word 'in' in two sentences equal?

Ex Output:

No