K-th element from the end of a list