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: [52, 229, 213, 60, 22, 228, 222, 74, 181, 249, 209, 170, 24, 103, 66, 47, 76, 245, 142, 35], k=2
Example Output: 245

Example Input: [229, 42, 38, 120, 33, 204, 150, 227, 268, 14, 45, 132, 220, 181, 233, 115, 121, 245, 180, 111], k=20
Example Output: 14

Example Input: [135, 65, 59, 281, 145, 142, 90, 166, 70, 172, 213, 14, 36, 185, 42, 128, 61, 95, 248, 121], k=6
Example Output:
166