n = int(input()) cnt = (n + 1) // 2 ans = list(range(n, n - cnt, -1))[::-1] print(*ans)