Vivek Gupta's submission of The K-th Path | CodeChef