Input: Head: person<sep>Tail: bed to sleep in
Answer: Yes