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: [281, 33, 73, 228, 227, 126, 112, 171, 58, 90, 153, 179, 211, 103, 134, 11, 173, 169, 61, 157], k=8
Example Output: 169

Example Input: [241, 16, 229, 221, 230, 250, 220, 289, 267, 42, 244, 252, 247, 177, 206, 14, 35, 209, 120, 281], k=18
Example Output:
35