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: [198, 127, 136, 120, 44, 208, 162, 177, 147, 227, 167, 166, 226, 62, 247, 179, 141, 117, 193, 40], k=20

Output: 40


Input: Consider Input: [231, 186, 259, 217, 158, 138, 145, 76, 131, 220, 129, 187, 47, 12, 293, 144, 155, 200, 279, 108], k=13

Output: 144


Input: Consider Input: [102, 296, 258, 44, 199, 174, 216, 299, 188, 147, 255, 28, 241, 21, 32, 243, 276, 128, 57, 142], k=13


Output: 142