Akash Jain's submission of K Sum | CodeChef