Karthik's submission of Stone | CodeChef