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.

[59, 234, 102, 24, 260, 125, 79, 116, 159, 285, 173, 105, 21, 29, 40, 279, 130, 15, 222, 219], k=16
40