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: [249, 276, 166, 184, 281, 256, 290, 207, 279, 200, 287, 85, 289, 214, 27, 105, 147, 93, 232, 124], k=18

Output: 287


Input: Consider Input: [53, 81, 225, 98, 48, 65, 28, 158, 11, 168, 220, 128, 120, 249, 127, 55, 236, 213, 116, 115], k=10

Output: 116


Input: Consider Input: [144, 283, 257, 94, 54, 261, 75, 182, 199, 111, 106, 103, 251, 252, 222, 109, 203, 280, 45, 81], k=2


Output: 54