Input: Sentence 1: It could not go on without rest forever. Sentence 2: Rest was not needed to continue forward.
Output: 

 yes