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 cat looking inside of a barn door', Sentence2: 'a bus traveling through town ready to pick up passengers and drop them off'. Is the frequency of the word 'them' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'doubledecker bus on the street of a town', Sentence2: 'a person jumping off part of a fence with a snowboard'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a car and a bus are merging into traffic together', Sentence2: 'a flag flying with kites all around it'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No