In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a green and yellow train traveling down a train track', Sentence2: 'two dogs are wearing bonnets tied to a pole'. Is the frequency of the word 'a' in two sentences equal?