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: [284, 41, 223, 131, 68, 18, 42, 290, 86, 248, 113, 299, 24, 285, 67, 48, 218, 79, 296, 158], k=7

Answer: 68


Question: [14, 162, 33, 137, 151, 210, 248, 269, 24, 252, 114, 164, 104, 147, 259, 190, 197, 180, 289, 37], k=5

Answer: 104


Question: [48, 51, 19, 163, 242, 98, 100, 294, 28, 14, 126, 290, 57, 181, 78, 24, 174, 32, 213, 206], k=2

Answer:
19