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]: [207, 198, 256, 176, 228, 201, 72, 241, 284, 203, 28, 230, 223, 80, 249, 266, 111, 98, 104, 170], k=8
[A]: 176

[Q]: [162, 147, 103, 261, 215, 61, 298, 268, 131, 45, 267, 58, 176, 155, 200, 17, 96, 57, 18, 109], k=20
[A]: 298

[Q]: [235, 118, 154, 225, 98, 42, 134, 239, 60, 174, 141, 243, 206, 75, 241, 195, 262, 211, 258, 144], k=19
[A]:
258