Task: Program Execution
Input (English): Sentence1: 'a dog sits on the sidewalk while a girl looks at her cellphone', Sentence2: 'a giraffe lies down in a caged area while two small animals sit on his head'. Is the frequency of the word 'while' in two sentences equal?
Output (English): Yes