Input: Head: person<sep>Tail: perfect world
Answer: Yes