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.

[296, 211, 166, 25, 64, 124, 108, 215, 93, 277, 67, 126, 24, 15, 240, 30, 256, 186, 294, 236], k=4
256

[28, 92, 72, 299, 153, 66, 261, 160, 218, 130, 235, 262, 10, 51, 17, 141, 14, 277, 247, 223], k=18
17

[127, 288, 143, 278, 154, 204, 45, 223, 61, 79, 122, 110, 244, 100, 275, 153, 20, 94, 10, 16], k=16

61

