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.

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

[124, 106, 150, 144, 187, 134, 91, 117, 178, 240, 156, 237, 290, 161, 266, 255, 198, 259, 75, 123], k=5
240

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

60