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.

[87, 249, 118, 103, 114, 204, 124, 12, 292, 17, 197, 239, 189, 219, 93, 205, 149, 260, 41, 272], k=20
292

[110, 296, 103, 146, 160, 107, 216, 24, 157, 61, 203, 186, 15, 123, 53, 294, 65, 208, 264, 109], k=10
123

[43, 55, 172, 198, 81, 270, 159, 285, 28, 15, 130, 245, 37, 134, 174, 39, 146, 94, 158, 82], k=2

28

