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 kitchen area with purple walls and black cabinets', Sentence2: 'a corner of a building shows graffiti wear'. Is the frequency of the word 'black' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a young woman ski is down a slope on the back of a sled', Sentence2: 'a vase of roses sits alone on a table'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a terrier sits on a messy bed in front of the window', Sentence2: 'a mesh fence with the design of a cat incorporated into it'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes