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.

[191, 130, 38, 264, 297, 143, 84, 23, 26, 228, 188, 253, 258, 224, 142, 267, 251, 182, 295, 270], k=5
130