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: [37, 237, 171, 87, 114, 258, 187, 65, 278, 82, 145, 247, 239, 250, 58, 289, 27, 294, 150, 163], k=5

A: 82
****
Q: [285, 217, 45, 68, 242, 281, 185, 60, 86, 170, 91, 131, 201, 263, 138, 140, 220, 299, 133, 35], k=11

A: 170
****
Q: [160, 130, 171, 108, 35, 252, 210, 140, 261, 65, 203, 280, 95, 61, 165, 281, 32, 275, 176, 269], k=11

A:
171
****