Definition: 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: [149, 100, 190, 102, 298, 30, 150, 221, 209, 51, 44, 117, 72, 159, 181, 81, 125, 31, 188, 58], k=9
Output:
102