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: [176, 263, 284, 189, 131, 102, 40, 179, 289, 150, 209, 81, 114, 51, 162, 48, 66, 195, 49, 20], k=10

Answer: 131

Question: [297, 154, 166, 65, 256, 282, 150, 241, 67, 255, 79, 232, 27, 192, 81, 298, 144, 155, 252, 111], k=11

Answer: 166

Question: [234, 140, 29, 61, 116, 256, 183, 137, 255, 265, 245, 122, 200, 63, 50, 155, 28, 154, 39, 271], k=17

Answer:
255