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: [117, 183, 174, 274, 192, 42, 204, 260, 100, 210, 214, 136, 255, 98, 50, 235, 219, 277, 106, 186], k=16

Answer: 235

Question: [42, 12, 271, 254, 90, 213, 133, 29, 199, 245, 276, 207, 71, 68, 236, 201, 230, 160, 242, 294], k=13

Answer: 230

Question: [227, 108, 115, 232, 297, 144, 267, 88, 244, 91, 68, 114, 248, 180, 173, 219, 257, 66, 236, 197], k=17

Answer:
248