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: [115, 53, 104, 256, 242, 101, 82, 108, 88, 47, 212, 222, 298, 102, 35, 119, 269, 217, 42, 236], k=6

Output: 88


Input: Consider Input: [91, 144, 89, 139, 171, 248, 268, 10, 70, 140, 112, 145, 182, 206, 37, 186, 263, 16, 198, 261], k=11

Output: 145


Input: Consider Input: [118, 135, 157, 125, 187, 92, 41, 91, 72, 69, 167, 38, 154, 85, 26, 213, 287, 271, 212, 138], k=3


Output: 41