Input: Sentence 1: Notice a telephone in the outer office?" Tuppence thought. Sentence 2: Tuppence thought, "Notice a telephone in the outer office?"
Output: 

 yes