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 blue and yellow colored bird perches on a tree branch', Sentence2: 'people on a car driving past elephants and a hippo'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a woman on skis holding one hand up with a pole', Sentence2: 'a bear claw donut and a glazed donut on a white plate with a red coffee cup'. Is the frequency of the word 'on' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a black and white photo of a bus', Sentence2: 'a old photo shows a man with his two horses'. Is the frequency of the word 'black' in two sentences equal?
Example Output:
No