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: [28, 92, 72, 299, 153, 66, 261, 160, 218, 130, 235, 262, 10, 51, 17, 141, 14, 277, 247, 223], k=18
Example Output: 17

Example Input: [14, 269, 11, 175, 243, 237, 297, 77, 272, 232, 150, 135, 52, 287, 76, 43, 172, 69, 88, 51], k=14
Example Output: 76

Example Input: [122, 139, 170, 195, 179, 94, 220, 103, 143, 248, 286, 69, 160, 14, 125, 86, 153, 164, 77, 108], k=5
Example Output:
179