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: [291, 47, 288, 27, 145, 228, 94, 219, 240, 148, 76, 48, 68, 10, 44, 229, 38, 239, 188, 59], k=13

Answer: 188

Question: [102, 43, 136, 220, 223, 84, 26, 32, 126, 133, 183, 116, 15, 56, 254, 18, 135, 68, 47, 243], k=8

Answer: 68

Question: [118, 100, 81, 27, 285, 272, 289, 217, 162, 196, 277, 171, 84, 113, 183, 298, 80, 28, 139, 77], k=9

Answer:
118