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.

[EX Q]: [182, 287, 153, 29, 292, 220, 52, 104, 299, 236, 113, 10, 117, 125, 95, 44, 180, 42, 173, 215], k=2
[EX A]: 29

[EX Q]: [259, 161, 27, 153, 19, 36, 233, 25, 292, 137, 56, 65, 193, 171, 282, 114, 10, 108, 43, 128], k=17
[EX A]: 233

[EX Q]: [291, 118, 246, 71, 64, 282, 141, 288, 270, 65, 130, 86, 278, 42, 170, 172, 146, 219, 74, 189], k=7
[EX A]:
118