Input: Head: person<sep>Tail: avoid pain
Answer: Yes