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.

Let me give you an example: [163, 290, 90, 51, 96, 86, 282, 265, 10, 85, 91, 201, 68, 126, 26, 228, 229, 236, 31, 71], k=14
The answer to this example can be: 201
Here is why: 201 is the 14th smallest element in the input list.

OK. solve this:
[58, 120, 69, 63, 71, 205, 237, 129, 43, 163, 159, 132, 42, 274, 171, 117, 295, 144, 188, 242], k=19
Answer:
274