n,k=map(int,input().split()) xlist=list(map(int,input().split())) i=0 while True: if abs(xlist[i+1]-xlist[i])