Input: Sentence 1: On inquiry she learnt that Tommy had not yet returned. Sentence 2: After asking, she learned that Tommy had come back yesterday.
Output: 

 yes