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 green and yellow train traveling down a train track', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a vase with a bird on it and a matching wineglass with flowers on it', Sentence2: 'this is a tray with food and a drink on it'. Is the frequency of the word 'vase' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a group of young kids in the woods with snow skiing', Sentence2: 'two men standing in mid air wearing sports uniforms with one man reaching for a red frisbee'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes