from bisect import* n,k,*x=map(int,open(0).read().split()) l=[[]] r=[[]] lm=[[]for _ in range(n)] rm=[[]for _ in range(n)] p=0 q=n-1 for i in range(n): if x[i]-x[p]