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.

[Q]: [111, 48, 244, 114, 218, 69, 112, 253, 87, 27, 61, 141, 58, 30, 161, 54, 179, 227, 25, 202], k=17
[A]: 218


[Q]: [13, 25, 221, 106, 90, 132, 47, 31, 292, 123, 285, 186, 151, 125, 191, 261, 230, 159, 252, 259], k=4
[A]: 47


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