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.

[178, 142, 146, 64, 29, 225, 162, 274, 62, 51, 177, 263, 80, 173, 179, 282, 58, 164, 172, 271], k=15
179

[212, 21, 189, 206, 221, 284, 278, 196, 104, 122, 30, 48, 237, 291, 208, 293, 145, 137, 259, 135], k=2
30

[29, 270, 64, 133, 276, 297, 57, 202, 114, 293, 124, 74, 90, 134, 27, 292, 279, 296, 79, 192], k=10
133