509 - Reverse

Reverse

Time Limit: 1 sec

**The Problem**

Let’s back to the kindergarten. If you are given a number **N** write **1 – N **in reverse way.

** **

**Example**

Given number, 3

Result

3 2 1

If he gives you the task can you solve?

**The Input**

The input file contains several lines. Each line contains a single integer **N (0 <= N <= 25).** Input is terminated by EOF

**The Output**

For each line of input print the numbers and for 0 print **“0”** in a separate line. There is an extra space at the end of every line.

**Sample Input**

3

5

**Sample Output**

3 2 1

5 4 3 2 1

Problem Setter: Samia Safa Ahmed