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.

Ex Input:
[27, 70, 212, 164, 256, 204, 25, 51, 31, 139, 22, 102, 160, 106, 15, 74, 177, 126, 223, 290], k=9

Ex Output:
102


Ex Input:
[42, 196, 182, 276, 226, 154, 296, 33, 167, 83, 36, 210, 112, 246, 149, 169, 159, 177, 84, 242], k=7

Ex Output:
149


Ex Input:
[249, 276, 166, 184, 281, 256, 290, 207, 279, 200, 287, 85, 289, 214, 27, 105, 147, 93, 232, 124], k=18

Ex Output:

287