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:
[99, 295, 16, 207, 25, 22, 262, 223, 54, 270, 85, 27, 112, 265, 109, 163, 210, 195, 20, 161], k=4
answer:
25

question:
[53, 203, 295, 77, 250, 297, 158, 172, 73, 64, 134, 175, 140, 135, 246, 270, 222, 98, 78, 31], k=17
answer:
250

question:
[117, 183, 174, 274, 192, 42, 204, 260, 100, 210, 214, 136, 255, 98, 50, 235, 219, 277, 106, 186], k=16
answer:
235