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.

[149, 100, 190, 102, 298, 30, 150, 221, 209, 51, 44, 117, 72, 159, 181, 81, 125, 31, 188, 58], k=9
102

[205, 247, 183, 191, 87, 215, 184, 50, 138, 64, 95, 101, 54, 268, 258, 110, 147, 238, 149, 107], k=9
138

[139, 14, 275, 103, 213, 287, 173, 181, 127, 125, 91, 257, 267, 209, 54, 297, 128, 167, 138, 155], k=1

14

