Sameer Jain's submission of KGP Summers | CodeChef