atcoder#ABC281A. [ABC281A] Count Down

[ABC281A] Count Down

Score : 100100 points

Problem Statement

Print all non-negative integers less than or equal to NN in descending order.

Constraints

  • 1N1001 \leq N \leq 100
  • NN is an integer.

Input

The input is given from Standard Input in the following format:

NN

Output

Print XX lines, where XX is the number of non-negative integers less than or equal to NN. For each i=1,2,,Xi=1, 2, \ldots, X, the ii-th line should contain the ii-th greatest non-negative integer less than or equal to NN.

3
3
2
1
0

We have four non-negative integers less than or equal to 33, which are 00, 11, 22, and 33. To print them in descending order, print 33 in the first line, 22 in the second, 11 in the third, and 00 in the fourth.

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