Instructions: 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: [166, 218, 91, 148, 31, 180, 202, 24, 231, 168, 125, 246, 179, 25, 236, 70, 160, 33, 50, 99], k=16
Output:
202