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: [81, 235, 25, 282, 104, 10, 130, 20, 56, 21, 232, 265, 274, 198, 131, 267, 97, 121, 167, 261], k=16

Output: 261


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: [114, 219, 248, 153, 226, 154, 190, 54, 93, 55, 284, 227, 159, 91, 136, 145, 287, 30, 286, 87], k=7


Output: 114