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