Input: Head: pilot<sep>Tail: fly
Answer: Yes