In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.

Example Input: Sentence1: 'people playing a game in a wood gated field', Sentence2: 'a teddy bear sits next to a small pair of black boots'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

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: 'the bird is an owl flying low above the grass', Sentence2: 'an old photograph displayed with a round frame'. Is the frequency of the word 'an' in two sentences equal?
Example Output:
Yes