j=input x,y=map(int,j().split());j();k=1 t=list(map(int,j().split())) for i,j in zip(t,t[1:]): if j*x