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 dog is seated in a dog bed on a wood floor with a rug nearby', Sentence2: 'a ski boarder is airborne on a snow covered slope'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a giraffe towers above some zebras in a forest area', Sentence2: 'a bear sits on a park bench near a tree'. Is the frequency of the word 'some' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two black horses are standing in the sand outside a canopy', Sentence2: 'there is a air plane that is flying high in the sky'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
Yes