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 man holding a surfboard on top of a sandy beach', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'dressed' in two sentences equal?

Ex Output:
No

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 couch a table with chairs and a microwave', Sentence2: 'a group of fruits and vegetables are sitting on the counter'. Is the frequency of the word 'and' in two sentences equal?

Ex Output:
Yes