Shivam's submission of Find X | CodeChef