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.

[33, 54, 96, 31, 26, 52, 86, 72, 203, 138, 258, 62, 262, 42, 222, 78, 45, 38, 80, 170], k=10
Output:
72