Sergey's submission of Kth Numbers | CodeChef