Definition: In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
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?
Output:
No