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: [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

Example Input: [110, 261, 22, 294, 94, 275, 282, 201, 185, 24, 232, 222, 114, 50, 93, 216, 56, 55, 150, 251], k=18
Example Output: 50

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