Shivam Mittal's submission of Second Largest | CodeChef