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: [90, 110, 222, 54, 223, 287, 43, 153, 17, 218, 87, 130, 244, 297, 159, 267, 272, 55, 248, 86], k=8

Answer: 110

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: [109, 49, 80, 107, 95, 258, 273, 265, 120, 233, 92, 199, 173, 230, 77, 214, 292, 155, 185, 232], k=2

Answer:
77