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: [249, 276, 166, 184, 281, 256, 290, 207, 279, 200, 287, 85, 289, 214, 27, 105, 147, 93, 232, 124], k=18

Answer: 287

Question: [200, 80, 13, 113, 23, 189, 255, 148, 239, 187, 233, 163, 88, 83, 164, 194, 252, 157, 291, 178], k=5

Answer: 88

Question: [160, 171, 147, 167, 154, 223, 297, 69, 168, 152, 96, 224, 24, 263, 283, 31, 162, 87, 111, 12], k=20

Answer:
297