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: [74, 20, 106, 219, 190, 33, 14, 36, 159, 27, 224, 283, 13, 129, 40, 230, 220, 43, 63, 205], k=7

Answer: 40


Question: [262, 175, 116, 233, 122, 247, 267, 286, 13, 74, 28, 145, 126, 205, 165, 259, 238, 76, 81, 177], k=9

Answer: 145


Question: [249, 276, 166, 184, 281, 256, 290, 207, 279, 200, 287, 85, 289, 214, 27, 105, 147, 93, 232, 124], k=18

Answer:
287


