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.

Q: [18, 299, 42, 255, 77, 40, 162, 199, 228, 168, 23, 212, 268, 283, 25, 217, 208, 247, 43, 92], k=14

A: 217
****
Q: [90, 110, 222, 54, 223, 287, 43, 153, 17, 218, 87, 130, 244, 297, 159, 267, 272, 55, 248, 86], k=8

A: 110
****
Q: [38, 140, 149, 176, 267, 22, 88, 193, 87, 36, 284, 214, 226, 86, 50, 188, 96, 49, 125, 167], k=1

A:
22
****