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: [74, 20, 106, 219, 190, 33, 14, 36, 159, 27, 224, 283, 13, 129, 40, 230, 220, 43, 63, 205], k=7
Output:
40