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]: [178, 170, 196, 57, 265, 258, 84, 209, 259, 87, 130, 134, 49, 106, 18, 177, 207, 199, 131, 257], k=12
[A]: 178


[Q]: [161, 185, 46, 210, 138, 225, 245, 139, 187, 107, 124, 128, 249, 253, 135, 95, 234, 278, 261, 38], k=8
[A]: 138


[Q]: [253, 29, 14, 89, 230, 208, 108, 150, 258, 211, 214, 21, 284, 106, 278, 241, 40, 186, 123, 44], k=17
[A]:
253


