Problem1341--训练STL中stack简单用法。

1341: 训练STL中stack简单用法。

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

Description

向stack里入栈1到n的n个数,然后逐个出栈输出。

Input

一行一个整数,表示入栈的个数n。

Output

n行,每行一个整数,表示出栈的结果。

Sample Input Copy

3

Sample Output Copy

3
2
1

Source/Category