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 corner of a building shows graffiti wear', Sentence2: 'a couple sits in separate parts of the bedroom working on their laptops'. Is the frequency of the word 'sits' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a woman on skis holding one hand up with a pole', Sentence2: 'two people dressed in costume advertising while two others ride a horse'. Is the frequency of the word 'in' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'train cars sit on a track adjacent to thick trees', Sentence2: 'a vase of roses sits alone on a table'. Is the frequency of the word 'on' in two sentences equal?
Example Output:
Yes