Prateek's submission of Optimal Destruction | CodeChef