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.
Q: [242, 172, 34, 225, 45, 63, 261, 79, 207, 174, 192, 106, 108, 14, 297, 88, 180, 43, 241, 58], k=3
A: 
43