Input: Sentence 1: 'Tea?' He offered. Sentence 2: He offered tea.
Output: 

 yes