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.
--------
Question: [205, 55, 245, 283, 196, 16, 215, 287, 281, 249, 186, 194, 141, 254, 23, 10, 268, 26, 62, 75], k=2

Answer: 16


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

Answer: 138


Question: [13, 163, 14, 96, 93, 58, 193, 71, 242, 264, 297, 237, 294, 299, 272, 118, 245, 131, 30, 172], k=20

Answer:
299