#K76257. Reverse String

    ID: 34602 Type: Default 1000ms 256MiB

Reverse String

Reverse String

You are given a string s as input. Your task is to output the reverse of this string.

In mathematical terms, if the string is represented as \(s = s_1s_2\ldots s_n\), you need to compute \(r = s_n s_{n-1}\ldots s_1\).

The solution should read the input from stdin and output the result to stdout.

Note: The input string can contain spaces and special characters.

inputFormat

The input consists of a single line containing the string s.

Input format: A single line from stdin.

outputFormat

Output the reversed string. The output should be written to stdout as a single line.

## sample
python
nohtyp