Definition: 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.
Input: [198, 127, 136, 120, 44, 208, 162, 177, 147, 227, 167, 166, 226, 62, 247, 179, 141, 117, 193, 40], k=20
Output:
40