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: [124, 215, 224, 251, 261, 118, 255, 52, 77, 67, 36, 20, 167, 46, 97, 269, 198, 136, 291, 135], k=20
A: 
291