M=int(input().split()[1]) C=sorted(map(int,input().split())) a=t=0 while tM:break a+=1 print(a)