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

[31, 78, 202, 71, 131, 121, 106, 123, 133, 221, 282, 141, 150, 255, 273, 237, 86, 38, 117, 171], k=18
255

[239, 110, 47, 43, 56, 185, 243, 72, 159, 130, 274, 122, 230, 148, 280, 296, 116, 11, 179, 294], k=1

11