Input: Sentence 1: Home Town , by Tracy Kidder (Random House). Sentence 2: Home Town was written by Tracy Kidder
Output: 

 yes