You will be given a definition of a task first, then some input of the task.
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.

[110, 261, 22, 294, 94, 275, 282, 201, 185, 24, 232, 222, 114, 50, 93, 216, 56, 55, 150, 251], k=18
Output:
50