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.

Example input: [163, 290, 90, 51, 96, 86, 282, 265, 10, 85, 91, 201, 68, 126, 26, 228, 229, 236, 31, 71], k=14
Example output: 201
Example explanation: 201 is the 14th smallest element in the input list.
Q: [296, 139, 50, 190, 196, 299, 77, 247, 204, 145, 227, 90, 246, 259, 23, 193, 233, 75, 276, 10], k=20
A:
299