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]: [99, 295, 16, 207, 25, 22, 262, 223, 54, 270, 85, 27, 112, 265, 109, 163, 210, 195, 20, 161], k=4
[A]: 25


[Q]: [115, 53, 104, 256, 242, 101, 82, 108, 88, 47, 212, 222, 298, 102, 35, 119, 269, 217, 42, 236], k=6
[A]: 88


[Q]: [235, 118, 154, 225, 98, 42, 134, 239, 60, 174, 141, 243, 206, 75, 241, 195, 262, 211, 258, 144], k=19
[A]:
258