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.

[297, 176, 184, 245, 143, 204, 191, 188, 52, 16, 41, 197, 244, 93, 59, 276, 227, 120, 277, 138], k=14
138

[280, 23, 88, 84, 198, 115, 56, 237, 68, 104, 245, 22, 39, 58, 61, 257, 107, 90, 248, 60], k=10
90

[167, 86, 113, 26, 291, 235, 92, 170, 285, 66, 59, 76, 158, 196, 121, 244, 28, 293, 19, 268], k=8

170