Input: Head: chair<sep>Tail: touching wall
Answer: Yes