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 partially eaten pizza with empty plate in foreground', 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: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'the' in two sentences equal?

Output: Yes


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 'food' in two sentences equal?


Output: No