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.

[127, 150, 271, 167, 241, 211, 97, 74, 248, 131, 147, 116, 258, 81, 185, 65, 73, 118, 285, 266], k=5
248