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: [30, 120, 192, 244, 272, 199, 276, 68, 259, 88, 141, 84, 99, 256, 58, 298, 254, 116, 49, 296], k=20

Output: 298


Input: Consider Input: [275, 114, 223, 89, 160, 20, 129, 51, 43, 64, 169, 83, 184, 270, 240, 42, 183, 227, 113, 232], k=8

Output: 113


Input: Consider Input: [135, 180, 154, 219, 60, 127, 79, 152, 201, 65, 67, 122, 55, 68, 32, 287, 231, 38, 45, 280], k=20


Output: 287