Input: Head: crocodile<sep>Tail: in river
Answer: Yes