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: [115, 53, 104, 256, 242, 101, 82, 108, 88, 47, 212, 222, 298, 102, 35, 119, 269, 217, 42, 236], k=6

Output: 88


Input: Consider Input: [241, 119, 166, 55, 225, 112, 67, 32, 47, 267, 129, 294, 69, 229, 174, 157, 286, 245, 101, 115], k=17

Output: 245


Input: Consider Input: [117, 58, 36, 193, 159, 39, 171, 47, 192, 78, 156, 140, 211, 10, 23, 111, 260, 32, 209, 138], k=9


Output: 111