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: [232, 161, 31, 102, 107, 237, 89, 110, 238, 190, 84, 291, 100, 251, 127, 262, 120, 76, 119, 261], k=2

Answer: 76


Question: [132, 110, 134, 50, 237, 170, 154, 144, 138, 196, 231, 30, 142, 107, 159, 162, 225, 29, 211, 167], k=4

Answer: 107


Question: [232, 177, 41, 14, 62, 42, 104, 91, 136, 95, 210, 71, 80, 138, 287, 285, 298, 28, 220, 156], k=12

Answer:
138