Given the task definition and input, reply with output. 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.

[261, 188, 118, 52, 265, 22, 14, 54, 34, 33, 180, 60, 203, 167, 249, 204, 121, 74, 84, 253], k=5

52