Tomaz Hocevar's submission of Stone | CodeChef