Input: Sentence 1: Hay to sleep on was fine; he had had far worse beds during the past four years. Sentence 2: There were some beds that had been worse than hay.
Output: 

 yes