In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a can is sitting on top of a dog', Sentence2: 'a man and a little boy with their mouths open posing for a picture'. Is the frequency of the word 'dog' in two sentences equal?