//
//  2742-ReverseN.swift
//  Algorithm
//
//  Created by Yujean Cho on 2022/02/17.
//

import Foundation

let input = Int(readLine()!)!

for i in (1...input).reversed() {
    print(i)
}