In this task, you are given a list of integers and an integer k. You need to find the kth smallest element in the input list and return that.

[13, 25, 221, 106, 90, 132, 47, 31, 292, 123, 285, 186, 151, 125, 191, 261, 230, 159, 252, 259], k=4
47