n,k=map(int,input().split()) xlist=list(map(int,input().split())) i=0 while True: if len(xlist)