Karthik's submission of Weight of Numbers | CodeChef