Input Format:
First line contains integers, N and M, denoting the number of books and number of students respectively. Next line contains N integers, denoting the number of pages in N books.
Constraints:
1<=N<=10^5 1<=M<=N 1<=Pi<=10^9
In one of the test cases, the constraint M<=N is not maintained, what should be done in such case?