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