Shivam Mittal's submission of First and Last Digit | CodeChef