Input: Sentence 1: Early missionaries used to say tiens, bois! Sentence 2: Tiens, bois is something early missionaries used to say.
Output: 

 yes