Kartik's submission of Factorial | CodeChef