n,k=map(int,input().split()) a=list(map(int,input().split())) a.sort() sumn=[0]*n sumnn=[0]*n for i in range(1,n): if 0