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

Example Input: Sentence1: 'two sheep on a hill with green grass', Sentence2: 'spectators watch baseball players play a game on the field'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'two bears in a waterfall one on top of falls and one on bottom of the falls', Sentence2: 'a giraffe lays down on the grass as a bird stands in the background'. Is the frequency of the word 'waterfall' 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 old photo shows a man with his two horses'. Is the frequency of the word 'others' in two sentences equal?
Example Output:
No