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 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 corner of a building shows graffiti wear', Sentence2: 'a couple sits in separate parts of the bedroom working on their laptops'. Is the frequency of the word 'sits' in two sentences equal?
Example Output: No

Example Input: Sentence1: 'a house with a door and window has a bench in front of it surrounded by bushes', Sentence2: 'a photo of people riding horses down a trail'. Is the frequency of the word 'a' in two sentences equal?
Example Output:
No