Shivam Mahendru's submission of Peaks | CodeChef