Instructions: 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: [241, 16, 229, 221, 230, 250, 220, 289, 267, 42, 244, 252, 247, 177, 206, 14, 35, 209, 120, 281], k=18
Output:
35