In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Q: Sentence1: 'a can is sitting on top of a dog', Sentence2: 'a dog sitting on a bed in a sweater with a indifferent look'. Is the frequency of the word 'dog' in two sentences equal?
A: 
Yes