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: [257, 27, 91, 252, 48, 104, 115, 61, 238, 245, 283, 187, 234, 96, 223, 159, 284, 174, 224, 26], k=5

Answer: 91


Question: [144, 283, 257, 94, 54, 261, 75, 182, 199, 111, 106, 103, 251, 252, 222, 109, 203, 280, 45, 81], k=2

Answer: 54


Question: [272, 96, 64, 119, 236, 228, 129, 252, 297, 201, 144, 29, 20, 200, 162, 79, 285, 254, 189, 196], k=16

Answer:
252