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 man sitting on a sofa with a laptop', Sentence2: 'a half eaten red velvet cupcake on a cardboard box'. Is the frequency of the word 'sofa' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a man wearing glasses sitting in a chair while a cat lays behind him', Sentence2: 'a man holding up an umbrella near other umbrellas'. Is the frequency of the word 'an' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a black and white photo of a bus', Sentence2: 'in an old black and white photo men are riding horses'. Is the frequency of the word 'old' in two sentences equal?
Example Output:
No