Input: Sentence 1: The Astronomer said, "Youth!"   Sentence 2: The Astronomer shouted, "Youth!"
Output: 

 yes