t=int(input());n=int(input()) a=[int(input()) for i in range(n)] dp=[1<<30]*(1<>j&1)*a[j] dp2[i]=c m=(1<>j&1: c=1<