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.

[212, 21, 189, 206, 221, 284, 278, 196, 104, 122, 30, 48, 237, 291, 208, 293, 145, 137, 259, 135], k=2
Output:
30