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

[21, 282, 277, 191, 210, 10, 101, 102, 34, 43, 134, 79, 280, 30, 243, 66, 111, 67, 233, 25], k=19
280

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

138