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 clock tower view from the bottom of the tower', Sentence2: 'individuals taking picture and posturing before a polaroid'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man swinging a tennis racket at a tennis ball', Sentence2: 'an adorable pug dog standing next to a teddy bear'. Is the frequency of the word 'bear' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man is is holding a hotdog loaded with lots of toppings', Sentence2: 'a man stands in front of some railroad tracks'. Is the frequency of the word 'man' in two sentences equal?
Example Output:
Yes