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: [178, 142, 146, 64, 29, 225, 162, 274, 62, 51, 177, 263, 80, 173, 179, 282, 58, 164, 172, 271], k=15

Answer: 179


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


Question: [59, 163, 61, 189, 171, 274, 121, 266, 263, 29, 159, 35, 129, 279, 40, 287, 191, 54, 252, 224], k=12

Answer:
189