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: 'in an old black and white photo men are riding horses', Sentence2: 'a person is sleeping on one side of the bed'. Is the frequency of the word 'person' in two sentences equal?

Output: No


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

Output: No


Input: Consider Input: Sentence1: 'this dark colored horse is looking at the camera', Sentence2: 'an older gentleman leaning against an old airplane'. Is the frequency of the word 'old' in two sentences equal?


Output: No