#C9314. Reverse the Reversed Word

    ID: 53394 Type: Default 1000ms 256MiB

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 SS, then the output should be SrevS^{\text{rev}}, where SrevS^{\text{rev}} represents the reverse of SS.

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