Remove the Kth element from a list