Skip to content
C

Reverse a String

Easyjavapythonccppjavascript

Given a string, print the same string with its characters in reverse order.

Input Format

A single line containing the string S. It has no leading or trailing spaces.

Output Format

Print the reversed string.

Input (stdin)

Output

Run your code to see output here...