In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a fire hydrant and a dog in the snow', Sentence2: 'a group of giraffes in a closed in environment near a building'. Is the frequency of the word 'in' in two sentences equal?