Prateek's submission of KGP Summers | CodeChef