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]: [242, 172, 34, 225, 45, 63, 261, 79, 207, 174, 192, 106, 108, 14, 297, 88, 180, 43, 241, 58], k=3
[A]: 43

[Q]: [273, 12, 97, 267, 96, 60, 289, 95, 248, 120, 255, 275, 257, 122, 78, 191, 179, 167, 116, 79], k=16
[A]: 257

[Q]: [99, 295, 16, 207, 25, 22, 262, 223, 54, 270, 85, 27, 112, 265, 109, 163, 210, 195, 20, 161], k=4
[A]:
25