Input: Sentence 1: when was that on Sentence 2: When did it come on?
Output: 

 yes