Problem Statement:
The highly advanced level of the modern 'Space Science' lets humans be more aware about what is going on in the space around them. We discovered a lot of interesting and mysterious things that we never thought about it in any time. One of these mysterious things is the existence of kind of highly advanced creatures in a planet so far from ours.

The human curiosity lets scientists to spy on them and try to decode their messages. For simplicity we call these creatures "Katama ", don't ask me, I don't know why !. In a strange ways they know that we are spying on their messages and they tried to decode them. So now Katama is encrypting the message before sending it. But our brilliants discovered how the encrypting done by the Katama.

Katama messages are only of digits. To irritate us; they reverse the order of them then insert random characters between these digits.

If the message is
9 5 3

They reverse it
3 5 9

And then
$we3zxc (5-gwev d%%sd 9x


Input Format:
the input is a long encrypted message on multiple lines, each line has no more than 1000 characters, the message ends with a line of three stars '***'.
Each line contains at least one digit.


Output Format:
For each line of the input, output one line after the decryption. The digits must be separated by a single space.


Sample Input:
/Tv;25>$c< 9bRp(cA-yGs^9jY+#\P?tl6:1%85m0F5l+!V5haQ,HOKHM ***


Sample Output:
5 2 5 5 0 5 8 1 6 9 9





Added by: feras_kassar
Added at: 2014-03-14 19:00:00 UTC
Time Limit: 3 seconds
Partial score: No
Source:Damascus University Second Training Contest 2014