#C13503. Reverse the String

    ID: 43049 Type: Default 1000ms 256MiB

Reverse the String

Reverse the String

Your task is to reverse a given string. Given an input string \(s = s_1 s_2 \dots s_n\), you are required to output its reverse \(s_n s_{n-1} \dots s_1\). The reversal should preserve every character including spaces, punctuation, and special symbols. For example, if the input is hello, the output should be olleh, and if the input is a palindrome such as madam, then the output remains madam.

Note: In typical contest inputs, the string is read from standard input as a single line. There is no need to check for non-string inputs.

inputFormat

The input consists of a single line containing the string \(s\). The string may include spaces, digits, symbols, and letters. The length of \(s\) satisfies \(0 \leq |s| \leq 10^5\).

outputFormat

Output a single line representing the reverse of the input string.

## sample
hello
olleh