LogiQuest

87. Reverse a String

EasyString

Print the given string reversed.

Input format

A single line s.

Output format

s reversed.

Example 1

Input

hello

Output

olleh

Example 2

Input

a

Output

a

Constraints

1 ≤ |s| ≤ 10⁵

Read input from standard input and print the answer to standard output. Your code is judged against 6 test cases, most of them hidden.

Loading the MyLoginn IDE…