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.

[262, 175, 116, 233, 122, 247, 267, 286, 13, 74, 28, 145, 126, 205, 165, 259, 238, 76, 81, 177], k=9
145

[202, 16, 28, 103, 294, 94, 32, 152, 284, 131, 177, 269, 72, 49, 64, 183, 98, 89, 217, 286], k=11
131

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

276

