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: [272, 96, 64, 119, 236, 228, 129, 252, 297, 201, 144, 29, 20, 200, 162, 79, 285, 254, 189, 196], k=16

Answer: 252


Question: [291, 118, 246, 71, 64, 282, 141, 288, 270, 65, 130, 86, 278, 42, 170, 172, 146, 219, 74, 189], k=7

Answer: 118


Question: [126, 265, 104, 289, 284, 219, 273, 203, 48, 173, 46, 70, 110, 42, 148, 209, 131, 11, 71, 105], k=10

Answer:
126