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: [275, 114, 223, 89, 160, 20, 129, 51, 43, 64, 169, 83, 184, 270, 240, 42, 183, 227, 113, 232], k=8

Answer: 113


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: [161, 185, 46, 210, 138, 225, 245, 139, 187, 107, 124, 128, 249, 253, 135, 95, 234, 278, 261, 38], k=8

Answer:
138