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:
[194, 272, 269, 186, 259, 148, 150, 53, 222, 168, 197, 133, 31, 12, 29, 205, 67, 123, 81, 89], k=7

Ex Output:
89


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


Ex Input:
[132, 110, 134, 50, 237, 170, 154, 144, 138, 196, 231, 30, 142, 107, 159, 162, 225, 29, 211, 167], k=4

Ex Output:

107