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: 'a group of cows facing towards and away from a fence', Sentence2: 'two bears climbing up a hill and looking for food'. Is the frequency of the word 'and' in two sentences equal?

Output: Yes


Input: Consider 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 'a' in two sentences equal?

Output: Yes


Input: Consider Input: Sentence1: 'a photo of people riding horses down a trail', Sentence2: 'people watching the performance of four elephants in the middle of a dirt arena'. Is the frequency of the word 'of' in two sentences equal?


Output: No