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