Input: Sentence 1: How he could be such a fool beats me!" But Japp was looking attentively at Poirot.  Sentence 2: He wondered how he could be so foolish.
Output: 

 no