Output
Print an integer representing the plot
with the Kth largest area.
Example:Input
7
10 5 7 88 19 45 56
3
Output
45
Explanation:
The sorted areas are [88,56,45,19, 10, 7, 5]. So, the 3rd largest area is 45.
arr=[]
n=int(input())
x=input()
k=int(input())
arr2=x.split()
for i in range(n):
arr.append(int(arr2[i]))
arr.sort(reverse=True)
print(arr[k-1])