K-th element
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Array of integers and number are given. Find the -th element in a sorted array (indexing starts from ).
Input
First line contains two integers and . Second line contains integers .
Output
Print the -th element in a sorted array .
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 61%