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 fire hydrant in a field with spiky plants', Sentence2: 'two giraffes grazing in the grass next to a tree'. Is the frequency of the word 'spiky' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a flock of birds some on the ground others are perched on a park bench', Sentence2: 'a black and white photo of a person with a frisbee'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a man is leaning over in the snow and casting a shadow', Sentence2: 'this is a person flying a kite in the water'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes