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 brown bull is standing in his pen and some trees', Sentence2: 'a road sign sitting next to a road and a building'. Is the frequency of the word 'and' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a woman sitting on a bed talking on the phone', Sentence2: 'a tall bird is standing by an oven'. Is the frequency of the word 'an' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a young woman ski is down a slope on the back of a sled', Sentence2: 'a woman is standing in the kitchen cooking a meal'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
Yes