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: [174, 74, 209, 109, 124, 272, 236, 231, 115, 254, 165, 234, 21, 64, 198, 264, 166, 23, 29, 144], k=5

Output: 74


Input: Consider Input: [46, 190, 169, 73, 62, 197, 289, 45, 193, 203, 191, 233, 128, 281, 14, 224, 185, 86, 94, 108], k=8

Output: 108


Input: Consider Input: [180, 257, 70, 83, 264, 61, 245, 125, 50, 285, 121, 163, 79, 290, 54, 293, 170, 174, 64, 244], k=20


Output: 293