Input: Sentence 1: Boy, it woke me up in a hurry. Sentence 2: The boy woke me up with haste.
Output: 

 yes