Input: Sentence 1: how often does he do it Sentence 2: How often does he do it?
Output: 

 yes