N=int(input()) p=[n for n in range(N//2+1,N+1)] print(*p)