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: [119, 81, 142, 240, 37, 46, 178, 110, 36, 53, 173, 161, 89, 273, 16, 218, 143, 297, 196, 192], k=15
Example Output: 81

Example Input: [149, 246, 229, 271, 272, 63, 110, 92, 129, 67, 225, 231, 184, 291, 166, 161, 286, 121, 182, 103], k=1
Example Output: 291

Example Input: [142, 256, 14, 48, 123, 89, 42, 83, 225, 167, 128, 294, 222, 22, 291, 269, 103, 40, 235, 70], k=18
Example Output:
40