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.

[183, 214, 202, 269, 104, 166, 12, 209, 194, 275, 62, 53, 276, 126, 23, 293, 65, 120, 246, 282], k=20
12

[241, 16, 229, 221, 230, 250, 220, 289, 267, 42, 244, 252, 247, 177, 206, 14, 35, 209, 120, 281], k=18
35

[213, 158, 296, 17, 126, 62, 257, 15, 154, 81, 151, 193, 127, 102, 12, 186, 31, 199, 50, 39], k=2

257