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 large clock mounted in the face of a building', Sentence2: 'a vintage looking image of a train near a mountain'. Is the frequency of the word 'of' in two sentences equal?
Example Output: Yes

Example Input: Sentence1: 'a yellow fire hydrant with chains hanging from its sides', Sentence2: 'a woman is standing in the kitchen cooking a meal'. Is the frequency of the word 'woman' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a cat looking inside of a barn door', Sentence2: 'a half eaten red velvet cupcake on a cardboard box'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
Yes