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.

[124, 106, 150, 144, 187, 134, 91, 117, 178, 240, 156, 237, 290, 161, 266, 255, 198, 259, 75, 123], k=5

240