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: [71, 183, 25, 244, 297, 108, 120, 104, 20, 217, 221, 100, 38, 205, 234, 144, 87, 218, 82, 75], k=3

Output: 38


Input: Consider Input: [132, 110, 134, 50, 237, 170, 154, 144, 138, 196, 231, 30, 142, 107, 159, 162, 225, 29, 211, 167], k=4

Output: 107


Input: Consider Input: [257, 92, 132, 282, 14, 101, 134, 96, 28, 228, 222, 109, 47, 114, 58, 205, 279, 62, 33, 183], k=16


Output: 222