instruction:
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.
question:
[161, 185, 46, 210, 138, 225, 245, 139, 187, 107, 124, 128, 249, 253, 135, 95, 234, 278, 261, 38], k=8
answer:
138

question:
[99, 239, 40, 23, 276, 132, 133, 119, 294, 271, 72, 49, 186, 282, 244, 236, 121, 167, 268, 170], k=18
answer:
276

question:
[47, 110, 226, 164, 95, 31, 36, 115, 79, 90, 64, 205, 124, 147, 250, 225, 35, 179, 235, 196], k=3
answer:
36