#!/usr/bin/python

# for num in range(1,101):
    # print(num, end=" ")

# x = input("\nPlease enter the input: ")
# for num in range(1,int(n)+1):
    # x=num*num
    # print(x, end=" ")
# n = int(x)
# while(n>0):
    # print(n)
    # n=n-1

#n = input("\nPlease enter the input: ")
#for num in range(int(n),0,-1):
#    x=num
#    print(x, end=" ")

n = input("\nPlease enter the input: ")
for num in range(1,int(n)+1):
    x=int(n)-num+1
    print(x, end=" ")