l=r=input() h=1 c=v=0 while l:exec'r+=v;c+=h;print`c-1`+`r-1`,;'*int(l);h,v=v,-h;l-=.5