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: [232, 161, 31, 102, 107, 237, 89, 110, 238, 190, 84, 291, 100, 251, 127, 262, 120, 76, 119, 261], k=2
Output:
76