Given the task definition and input, reply with output. 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.

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