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 green and yellow train traveling down a train track', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man standing next to a woman in front of an oven', Sentence2: 'a woman looking at her cellphone in the middle of crowd'. Is the frequency of the word 'crowd' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a stop sign that has been written on with white ink', Sentence2: 'two bears climbing up a hill and looking for food'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes