You will be given a definition of a task first, then some input of the task.
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.

[272, 96, 64, 119, 236, 228, 129, 252, 297, 201, 144, 29, 20, 200, 162, 79, 285, 254, 189, 196], k=16
Output:
252