amit's submission of Last Digit Sum | CodeChef