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 boy taking a picture of himself in mirror', Sentence2: 'spoons that are sitting in a glass jar on a table'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a group of young boys standing behind two microphones', Sentence2: 'a group of people and cow outside of a hut'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a giraffe lays down on the grass as a bird stands in the background', Sentence2: 'a station wagon being carried in the back of a truck'. Is the frequency of the word 'the' in two sentences equal?
Example Output:
No