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.

Input: Consider Input: [212, 240, 80, 64, 221, 163, 75, 242, 182, 13, 123, 100, 74, 24, 165, 167, 158, 289, 77, 145], k=15

Output: 182


Input: Consider Input: [59, 163, 61, 189, 171, 274, 121, 266, 263, 29, 159, 35, 129, 279, 40, 287, 191, 54, 252, 224], k=12

Output: 189


Input: Consider Input: [88, 138, 230, 71, 119, 274, 257, 233, 10, 293, 49, 245, 35, 205, 36, 161, 63, 147, 87, 114], k=8


Output: 88