Instructions: 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.
Input: [78, 222, 105, 299, 293, 272, 81, 246, 229, 110, 91, 287, 74, 71, 22, 197, 114, 42, 186, 190], k=1
Output:
22