Burdakov Daniel's submission of A String Game | CodeChef