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:
[34, 225, 16, 48, 288, 69, 123, 61, 55, 221, 109, 165, 73, 32, 100, 44, 257, 223, 36, 169], k=7

Ex Output:
55


Ex Input:
[246, 91, 111, 87, 103, 49, 213, 74, 57, 63, 112, 279, 109, 158, 230, 219, 132, 296, 107, 178], k=18

Ex Output:
246


Ex Input:
[234, 140, 29, 61, 116, 256, 183, 137, 255, 265, 245, 122, 200, 63, 50, 155, 28, 154, 39, 271], k=17

Ex Output:

255