In this task, you are given a list of integers and an integer k. You need to find the kth largest element in the input list.

Example Input: [213, 158, 296, 17, 126, 62, 257, 15, 154, 81, 151, 193, 127, 102, 12, 186, 31, 199, 50, 39], k=2
Example Output: 257

Example Input: [174, 265, 102, 299, 26, 298, 117, 202, 63, 249, 75, 86, 183, 256, 236, 277, 122, 224, 264, 171], k=10
Example Output: 202

Example Input: [183, 241, 41, 65, 87, 212, 263, 268, 46, 107, 230, 154, 192, 238, 177, 148, 24, 267, 262, 174], k=2
Example Output:
267

