All tasks
Easystrings

Reverse a String

Time limit 2 s · Memory 64 MB

Statement

The input is a single line without spaces. Print it reversed.

Constraints

String length is between 1 and 10^5

Examples

Input 1
hello
Output 1
olleh
Solve this task to unlock the editorial.

AI tutor

Stuck? Get a nudge — the tutor explains the idea, it never hands you the solution.