#2992. C++-循环while-输入一个负整数,倒序输出每一个数字

C++-循环while-输入一个负整数,倒序输出每一个数字

Background

Description

输入一个负整数,倒序输出每一个数字

Format

Input

Output

Samples

-123
3
2
1
-
-9870
0
7
8
9
-
-131398980012
2
1
0
0
8
9
8
9
3
1
3
1
-

Limitation

1s, 1024KiB for each test case.