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 bunch of apples are laying on a stonelike surface', Sentence2: 'a herd of sheep standing on top of a lush green field'. Is the frequency of the word 'of' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a phone shows a video of a woman singing', Sentence2: 'a beautiful well lit bedroom with a bed in the middle'. Is the frequency of the word 'lit' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a small boy cuddled up with a large stuffed teddy bear', Sentence2: 'a cat looks outside of a dirty old window'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes