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 room containing a television and a lounge chair with books on it', Sentence2: 'two rooms of a house are left in disarray on moving day'. Is the frequency of the word 'two' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'two adult sheep surrounding a lam near a gate', Sentence2: 'a group of young boys standing behind two microphones'. Is the frequency of the word 'lam' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a herd of zebras in the wild near grassy terrain', Sentence2: 'a large tractor truck with a painting on the back of the cab'. Is the frequency of the word 'of' in two sentences equal?
Example Output:
Yes