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.

[212, 240, 80, 64, 221, 163, 75, 242, 182, 13, 123, 100, 74, 24, 165, 167, 158, 289, 77, 145], k=15
182

[210, 28, 14, 89, 123, 114, 63, 197, 228, 183, 156, 48, 173, 209, 152, 294, 214, 26, 25, 275], k=10
152

[34, 225, 16, 48, 288, 69, 123, 61, 55, 221, 109, 165, 73, 32, 100, 44, 257, 223, 36, 169], k=7

55