PROGRAMMING:Output digital in reverse order
The program reads in a positive integer at a time, and then outputs digits in reverse order. Note: when the input number contains the ending 0, the output should not have the leading 0.
###Input format:
Enter a positive integer.
###Output format:
###Input example:
Here is a set of inputs. For example:
```in
seventy-one thousand and eight hundred
```
###Output example:
The corresponding output is given here. For example:
```out
eight hundred and seventeen
```
answer:If there is no answer, please comment
###Input format:
Enter a positive integer.
###Output format:
###Input example:
Here is a set of inputs. For example:
```in
seventy-one thousand and eight hundred
```
###Output example:
The corresponding output is given here. For example:
```out
eight hundred and seventeen
```
answer:If there is no answer, please comment