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

Input: Consider 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?

Output: Yes

Input: Consider Input: Sentence1: 'a cat looking inside of a barn door', Sentence2: 'a bus traveling through town ready to pick up passengers and drop them off'. Is the frequency of the word 'them' in two sentences equal?

Output: No

Input: Consider Input: Sentence1: 'a birthday cake with a topper that reads happy birthday forresto', Sentence2: 'people placed in a picture with bears having a picnic'. Is the frequency of the word 'with' in two sentences equal?
Output: Yes