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: [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: [110, 296, 103, 146, 160, 107, 216, 24, 157, 61, 203, 186, 15, 123, 53, 294, 65, 208, 264, 109], k=10

A: 123
****
Q: [261, 137, 226, 174, 152, 47, 248, 21, 250, 249, 211, 130, 135, 220, 110, 143, 259, 224, 106, 94], k=12

A:
211
****