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: [232, 161, 31, 102, 107, 237, 89, 110, 238, 190, 84, 291, 100, 251, 127, 262, 120, 76, 119, 261], k=2

Answer: 76


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


Question: [72, 285, 153, 18, 207, 96, 39, 37, 113, 237, 156, 56, 270, 134, 279, 32, 181, 211, 55, 17], k=12

Answer:
153