Geunha and Seyong were puzzled when they saw the strange word 'ECNALUBMA' written on the back of an ambulance parked in a parking lot. It was only after they got into their car and looked at it through the rear-view mirror that they realized the word was actually 'AMBULANCE', and they could not help laughing.
The letters seen in the mirror were simply the original word with the order of its characters reversed, and the two realized that whenever they saw such text they had been unconsciously reversing it in their heads in order to read it correctly.
Fascinated by this, they decided to practice 'mirror reading': given a single line of text, they want a program that reverses the order of every character in that line and prints the result.
The input consists of several lines. Each line contains one sentence made up of ASCII characters (letters, digits, spaces, punctuation, and so on).
Each sentence is between 1 and 80 characters long. When a line consisting solely of *** (three asterisks) is entered, the program terminates.
For each input sentence, print the sentence with the order of its characters reversed, one per line. Spaces and punctuation are reversed along with everything else.