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: [48, 51, 19, 163, 242, 98, 100, 294, 28, 14, 126, 290, 57, 181, 78, 24, 174, 32, 213, 206], k=2

Output: 19

Input: Consider Input: [43, 55, 172, 198, 81, 270, 159, 285, 28, 15, 130, 245, 37, 134, 174, 39, 146, 94, 158, 82], k=2

Output: 28

Input: Consider Input: [90, 110, 222, 54, 223, 287, 43, 153, 17, 218, 87, 130, 244, 297, 159, 267, 272, 55, 248, 86], k=8
Output: 110