#K94747. Reverse a String
Reverse a String
Reverse a String
Given a string \(S\) consisting of 1 to 100 lowercase English letters, your task is to reverse the string. Formally, if \(S = s_1 s_2 \dots s_n\) then the output should be \(s_n \dots s_2 s_1\). The input is provided through standard input and the result should be printed to standard output.
Example: If input is hello
, then the output should be olleh
.
inputFormat
The input consists of a single line containing a string \(S\) with length between 1 and 100. \(S\) is composed only of lowercase English letters.
outputFormat
Output a single line representing the reversed string of \(S\).
## samplehello
olleh