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:
[99, 213, 61, 207, 279, 41, 21, 34, 151, 165, 139, 102, 277, 97, 251, 79, 186, 290, 276, 229], k=4

Ex Output:
61


Ex Input:
[170, 146, 278, 212, 79, 175, 256, 230, 120, 282, 126, 97, 190, 33, 196, 174, 39, 188, 47, 243], k=4

Ex Output:
79


Ex Input:
[58, 120, 69, 63, 71, 205, 237, 129, 43, 163, 159, 132, 42, 274, 171, 117, 295, 144, 188, 242], k=19

Ex Output:

274