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.

[197, 137, 127, 76, 283, 205, 136, 106, 207, 194, 168, 251, 57, 164, 75, 151, 176, 212, 299, 297], k=13
197