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: [259, 161, 27, 153, 19, 36, 233, 25, 292, 137, 56, 65, 193, 171, 282, 114, 10, 108, 43, 128], k=17

Output: 233


Input: Consider Input: [101, 265, 235, 38, 208, 147, 204, 135, 97, 88, 129, 20, 181, 285, 74, 130, 203, 33, 228, 65], k=16

Output: 208


Input: Consider Input: [31, 78, 202, 71, 131, 121, 106, 123, 133, 221, 282, 141, 150, 255, 273, 237, 86, 38, 117, 171], k=18


Output: 255