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.

[147, 31, 154, 196, 96, 14, 288, 116, 217, 17, 141, 143, 68, 94, 212, 184, 223, 42, 214, 63], k=8
Output:
96