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: 'horse with a rider walking across a stream', Sentence2: 'a heard of elephants with their backs turned'. Is the frequency of the word 'of' in two sentences equal?

Output: No


Input: Consider Input: Sentence1: 'a train has graffiti and windows on it', Sentence2: 'a herd of elephants traveling together on a dirt pasture'. Is the frequency of the word 'on' in two sentences equal?

Output: Yes


Input: Consider Input: Sentence1: 'a cow is in a yard outside of a window', Sentence2: 'a black labrador dog with sad eyes laying on a bed'. Is the frequency of the word 'a' in two sentences equal?


Output: No