#C9314. Reverse the Reversed Word
Reverse the Reversed Word
Reverse the Reversed Word
Your task is to write a program that reads a string from standard input which represents a reversed word and outputs its original form by reversing it back.
For example, if the input is olleh, the output should be hello.
Note that if the input string is a palindrome, the output will be the same as the input.
In mathematical notation (using LaTeX), if the input is , then the output should be , where represents the reverse of .
inputFormat
A single line of text from standard input containing the reversed word. The string may contain only alphabetical characters.
outputFormat
Output a single line containing the original word, which is the reversal of the input string.## sample
olleh
hello