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 woman in a pink shirt holding a nintendo wii controller', Sentence2: 'a man bites into a doughnut as a keyboard sits in front of him'. Is the frequency of the word 'a' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a game of tennis is being played on a court as an audience looks on', Sentence2: 'the toilet is in a separate area away from the sink'. Is the frequency of the word 'a' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'three slim metal vases with flowers in them', Sentence2: 'two giraffes walk across the planes with shrubbery in the background'. Is the frequency of the word 'in' in two sentences equal?
Example Output:
Yes