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.

[45, 120, 23, 285, 143, 53, 174, 299, 247, 250, 34, 12, 202, 117, 245, 25, 89, 203, 275, 239], k=12
202

[257, 92, 132, 282, 14, 101, 134, 96, 28, 228, 222, 109, 47, 114, 58, 205, 279, 62, 33, 183], k=16
222

[155, 72, 71, 257, 17, 132, 266, 299, 290, 125, 38, 86, 37, 202, 185, 59, 70, 222, 145, 175], k=8

86