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.

[70, 184, 82, 86, 192, 24, 208, 79, 295, 154, 94, 221, 161, 174, 21, 173, 72, 299, 250, 32], k=4
70

[254, 115, 173, 94, 228, 168, 130, 202, 129, 42, 142, 61, 15, 244, 185, 123, 144, 256, 49, 227], k=1
15

[98, 237, 179, 245, 268, 231, 97, 238, 174, 137, 153, 63, 168, 289, 50, 62, 57, 159, 81, 255], k=18

255

