Tomek Czajka's submission of A String Game | CodeChef