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.

[259, 161, 27, 153, 19, 36, 233, 25, 292, 137, 56, 65, 193, 171, 282, 114, 10, 108, 43, 128], k=17
Output:
233