Hide

Problem B
Countdown

Will things ever be the same again?

Write a program that, given an integer $n$ as input, prints $n$, then $n-1$, and so forth, until finally printing $1$, at which point the program exits.

Input

Input consists of one line containing the integer $n$, where $1 \leq n \leq 10^4$.

Output

Output consists of $n$ lines, each line containing one integer.

Sample Input 1 Sample Output 1
6
6
5
4
3
2
1
Sample Input 2 Sample Output 2
1
1
Sample Input 3 Sample Output 3
23
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1

Please log in to submit a solution to this problem

Log in