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.

[194, 272, 269, 186, 259, 148, 150, 53, 222, 168, 197, 133, 31, 12, 29, 205, 67, 123, 81, 89], k=7
Output:
89