One day, Lucy went to the supermarket to buy a lot of apples, a variety of prices of fruit on display shelves, but she's only a shopping bag for apples, and she did not intend to use other shopping bag.
Today she doesn't want to buy the maximum value to fill the shopping bag of apples,but the K-th maximum value of the apples. NOTICE that, you should considerate two ways that get the same value of apples are the same. That means, it will be a strictly decreasing sequence from the 1st maximum, 2nd maximum .. to the K-th maximum.If the total number of different values is less than K, just ouput 0.