EasyRating 900
K-th Smallest
Print the k-th smallest element (1-based).
Input
n k, then n integers.
Output
A number.
Sample 1
Input
5 2 7 10 4 3 20
Output
4
Sample 2
Input
1 1 5
Output
5
Output appears heren k, then n integers.
A number.
5 2 7 10 4 3 20
4
1 1 5
5
Output appears here