n,m=map(int,input().split()) ans=0 l=sorted(map(int,input().split())) for i in l: if m>0: if m