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: [70, 168, 205, 161, 124, 282, 177, 231, 271, 219, 87, 221, 42, 217, 230, 121, 37, 134, 15, 68], k=3

Output: 42


Input: Consider Input: [259, 165, 88, 210, 274, 114, 244, 263, 162, 54, 179, 18, 148, 58, 94, 234, 68, 108, 95, 209], k=8

Output: 108


Input: Consider Input: [99, 213, 61, 207, 279, 41, 21, 34, 151, 165, 139, 102, 277, 97, 251, 79, 186, 290, 276, 229], k=4


Output: 61