Input: Sentence 1: The telegram was from Tommy!  Sentence 2: Tommy sent a telegram.
Output: 

 yes