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.

[49, 179, 198, 113, 205, 112, 80, 13, 57, 267, 226, 41, 15, 257, 173, 188, 144, 140, 183, 195], k=20
267