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 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: 'three oranges and a banana in the shape of a smile', Sentence2: 'two rooms of a house are left in disarray on moving day'. Is the frequency of the word 'on' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'wooden frames for umbrellas on posts in the dirt', Sentence2: 'a bench near a lake and grass'. Is the frequency of the word 'dirt' in two sentences equal?
Example Output:
No