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 'bottom' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'various pastries on display on shelves in a store', Sentence2: 'a tennis player with a racket and a ball'. Is the frequency of the word 'ball' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two women in a kitche with a little brown and white dog', Sentence2: 'a train has graffiti and windows on it'. Is the frequency of the word 'and' in two sentences equal?
Example Output:
Yes