Input: Sentence 1: By her last will, dated August of last year, after various unimportant legacies to servants, etc., she gave her entire fortune to her stepson, Mr. John Cavendish." Sentence 2: John Cavendish was the sole inheritor of his stepmother.
Output: 

 yes