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: [111, 48, 244, 114, 218, 69, 112, 253, 87, 27, 61, 141, 58, 30, 161, 54, 179, 227, 25, 202], k=17

Output: 218


Input: Consider Input: [291, 47, 288, 27, 145, 228, 94, 219, 240, 148, 76, 48, 68, 10, 44, 229, 38, 239, 188, 59], k=13

Output: 188


Input: Consider Input: [99, 295, 16, 207, 25, 22, 262, 223, 54, 270, 85, 27, 112, 265, 109, 163, 210, 195, 20, 161], k=4


Output: 25


