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: [78, 222, 105, 299, 293, 272, 81, 246, 229, 110, 91, 287, 74, 71, 22, 197, 114, 42, 186, 190], k=1

Answer: 22


Question: [113, 128, 35, 235, 243, 222, 247, 220, 150, 126, 105, 238, 293, 240, 81, 261, 191, 10, 148, 144], k=17

Answer: 243


Question: [11, 278, 43, 255, 83, 18, 268, 283, 288, 222, 31, 294, 17, 209, 71, 75, 57, 24, 91, 149], k=2

Answer:
17