Input: Sentence 1: But if, on the other hand, it was John, the whole thing was explained quite naturally." Sentence 2: If it was John, it was easy to understand the whole thing.
Output: 

 yes