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.

[50, 268, 232, 285, 279, 215, 244, 45, 141, 102, 14, 43, 82, 170, 41, 180, 46, 292, 201, 60], k=14
60

[282, 291, 242, 260, 151, 49, 92, 210, 137, 205, 46, 272, 164, 131, 155, 221, 286, 106, 68, 36], k=3
282

[163, 216, 118, 11, 107, 135, 270, 154, 219, 153, 238, 262, 161, 282, 276, 43, 200, 185, 10, 217], k=5

238