#K75532. Reverse a String
Reverse a String
Reverse a String
Given a string s
, your task is to reverse its characters and output the result. This means that if s = "hello"
, then the output should be olleh
. The problem is straightforward and focuses on string manipulation. Note that the reversed string may include letters, digits, or special characters.
Please ensure your solution reads input from stdin and writes output to stdout.
inputFormat
The input consists of a single line containing the string that needs to be reversed. The string may include letters, digits, and special characters.
outputFormat
Output the reversed string on a single line.
## samplehello
olleh