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

Example Input: Sentence1: 'a dog sits on the sidewalk while a girl looks at her cellphone', Sentence2: 'a cat looks outside of a dirty old window'. Is the frequency of the word 'looks' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a woman holding an umbrella standing next to a black dog', Sentence2: 'a man holding a flashlight hold an umbrella also'. Is the frequency of the word 'umbrella' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a dog sits next to bathtub in a bathroom', Sentence2: 'a man in a suit and sunglasses takes a selfie'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes