Kanstantsin Sokal's submission of Stone | CodeChef