#K63232. Reverse a String
Reverse a String
Reverse a String
Given a single-line input string, compute and output its reverse.
The task is simple: you need to reverse the order of characters in the string. For example, if the input is "hello", the output should be "olleh".
This problem tests basic string manipulation and familiarity with input/output operations in various programming languages.
Note: Ensure your program reads input from stdin and outputs to stdout.
inputFormat
The input consists of a single line containing a string. The string may be empty and can include spaces and other characters.
outputFormat
Print a single line containing the reversed string.## sample
hello
olleh