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

[88, 138, 230, 71, 119, 274, 257, 233, 10, 293, 49, 245, 35, 205, 36, 161, 63, 147, 87, 114], k=8
88

[87, 249, 118, 103, 114, 204, 124, 12, 292, 17, 197, 239, 189, 219, 93, 205, 149, 260, 41, 272], k=20

292