Input: Sentence 1: What have you been doing, doctor? cried Mrs. Cavendish.  Sentence 2: Which way is it, doctor?, asked Cavendish.
Output: 

 yes