N=n=input() exec"print n;n=-2%n or~-N;"*N