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: [241, 11, 160, 281, 22, 137, 172, 126, 90, 66, 261, 181, 226, 65, 259, 83, 177, 278, 21, 98], k=7
Example Output: 181

Example Input: [110, 211, 233, 24, 162, 242, 151, 10, 15, 119, 118, 91, 56, 217, 144, 203, 276, 299, 155, 265], k=18
Example Output: 24

Example Input: [187, 90, 146, 73, 238, 264, 193, 77, 101, 157, 276, 164, 179, 114, 122, 37, 154, 269, 42, 284], k=14
Example Output:
114