read n eval printf %s $\[n%2-{1..$[n/2]}?1:7]