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: [242, 54, 259, 204, 67, 182, 168, 17, 287, 143, 272, 78, 48, 91, 224, 84, 201, 126, 18, 199], k=13

Output: 199


Input: Consider Input: [180, 257, 70, 83, 264, 61, 245, 125, 50, 285, 121, 163, 79, 290, 54, 293, 170, 174, 64, 244], k=20

Output: 293


Input: Consider Input: [204, 41, 236, 97, 178, 250, 180, 257, 124, 120, 126, 265, 185, 152, 281, 233, 268, 283, 286, 71], k=17


Output: 268