Detailed 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.
Q: [142, 256, 14, 48, 123, 89, 42, 83, 225, 167, 128, 294, 222, 22, 291, 269, 103, 40, 235, 70], k=18
A:
40