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.

Input: Consider Input: [178, 174, 258, 106, 221, 130, 64, 291, 141, 241, 161, 208, 55, 263, 190, 244, 292, 125, 112, 15], k=18

Output: 64

Input: Consider Input: [198, 229, 293, 225, 257, 12, 84, 195, 32, 193, 57, 185, 179, 223, 116, 61, 256, 272, 285, 118], k=6

Output: 229

Input: Consider Input: [177, 121, 59, 21, 66, 161, 236, 295, 67, 299, 220, 195, 166, 193, 155, 277, 94, 44, 84, 254], k=5
Output: 236