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: [10, 285, 166, 116, 234, 12, 25, 229, 51, 14, 125, 128, 123, 22, 32, 264, 76, 211, 228, 78], k=7
Example Output: 166

Example Input: [199, 68, 40, 72, 86, 169, 42, 46, 215, 64, 110, 276, 39, 217, 103, 196, 126, 219, 143, 159], k=12
Example Output: 103

Example Input: [248, 96, 267, 173, 279, 138, 170, 221, 29, 83, 159, 50, 289, 94, 135, 108, 197, 144, 154, 219], k=16
Example Output:
96