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]: [147, 31, 154, 196, 96, 14, 288, 116, 217, 17, 141, 143, 68, 94, 212, 184, 223, 42, 214, 63], k=8
[EX A]: 96

[EX Q]: [217, 170, 223, 94, 230, 104, 218, 42, 118, 265, 82, 281, 149, 71, 273, 51, 196, 72, 138, 247], k=2
[EX A]: 51

[EX Q]: [217, 170, 223, 94, 230, 104, 218, 42, 118, 265, 82, 281, 149, 71, 273, 51, 196, 72, 138, 247], k=2
[EX A]:
51