Problem2054--递归_输出123...21

2054: 递归_输出123...21

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

递归写法完成。

Input

3  输入一个正整数(n<10000)

Output

1 2 3 2 1

Sample Input Copy

6

Sample Output Copy

1 2 3 4 5 6 5 4 3 2 1

Source/Category