#C12466. Reverse a String
Reverse a String
Reverse a String
Given a string (s), your task is to output the reversed version of (s). The problem is straightforward and tests basic string manipulation. Read the string from the input and print its reverse.
For example, if (s = \texttt{hello}), then the output should be (\texttt{olleh}).
inputFormat
The input contains a single line string (s). The string can be empty or contain spaces, and you need to process the entire line.
outputFormat
Output the reversed string, which is the input string written in reverse order.## sample
hello
olleh