11 lines
147 B
Python
11 lines
147 B
Python
import sys
|
|
|
|
input = sys.stdin.readline
|
|
|
|
N, K = map(int,(input().split(' ')))
|
|
arr = list(map(int, input().split(' ')))
|
|
|
|
arr.sort()
|
|
|
|
print(arr[K-1])
|