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.

[155, 72, 71, 257, 17, 132, 266, 299, 290, 125, 38, 86, 37, 202, 185, 59, 70, 222, 145, 175], k=8
Output:
86