Manan Gupta's submission of A String Game | CodeChef