Input: Head: person<sep>Tail: safe
Answer: Yes