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]: [95, 255, 154, 129, 160, 92, 134, 106, 142, 35, 284, 55, 176, 47, 200, 115, 266, 151, 166, 167], k=16
[A]: 176

[Q]: [160, 171, 147, 167, 154, 223, 297, 69, 168, 152, 96, 224, 24, 263, 283, 31, 162, 87, 111, 12], k=20
[A]: 297

[Q]: [71, 183, 25, 244, 297, 108, 120, 104, 20, 217, 221, 100, 38, 205, 234, 144, 87, 218, 82, 75], k=3
[A]:
38