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:
[43, 55, 172, 198, 81, 270, 159, 285, 28, 15, 130, 245, 37, 134, 174, 39, 146, 94, 158, 82], k=2

Ex Output:
28

Ex Input:
[74, 20, 106, 219, 190, 33, 14, 36, 159, 27, 224, 283, 13, 129, 40, 230, 220, 43, 63, 205], k=7

Ex Output:
40

Ex Input:
[48, 51, 19, 163, 242, 98, 100, 294, 28, 14, 126, 290, 57, 181, 78, 24, 174, 32, 213, 206], k=2

Ex Output:
19