# # 배열
# n = int(input())
# result = []

# if n >= 1 and n <= 100000:
#     for i in range(1, n+1):
#         result.append(i)
#     result.sort(reverse=True)

#     for i in range(n):
#         print(result[i])

# # print
# n = int(input())
# for i in range(n):
#     print(n-i)

# for
n = int(input())

for i in range(n, 0, -1):
    print(i)
