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 car and a bus are merging into traffic together', Sentence2: 'a woman brushing her teeth and a towel on her head'. Is the frequency of the word 'on' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a coach watches on as a pitcher pitches', Sentence2: 'two men boogie boarding on a wave'. Is the frequency of the word 'pitcher' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a close up of a television remote being pointed at a tv', Sentence2: 'a couple of small dogs sit in a basket on a bike'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes