#t260. 第 k 小整数

第 k 小整数

The k-th Smallest Integer

Problem Description

Given nn positive integers, find the kk-th smallest integer among them. Integers of the same value are counted only once.

Input Format

The first line contains nn and kk. Starting from the second line, there are nn positive integers, separated by spaces.

Output Format

Output the value of the kk-th smallest integer. If no such value exists, output NO RESULT.

Sample Input

10 3
1 3 3 7 2 5 1 2 4 6

Sample Output

3

Constraints

n≤10000n \leq 10000, k≤1000k \leq 1000. All positive integers are less than 3000030000.