Tomaz Hocevar's submission of Sereja and Snake | CodeChef