Skip to content
UPEEC

Reverse a String

Easy#strings· solved by 0 · time limit 2.0 s

Print the given line reversed.

Input

One line of text (letters, digits and spaces).

Output

The reversed line.

Constraints

1 to 1000 characters.

Sample 1

Input

hello

Output

olleh

Sample 2

Input

UPEEC rocks

Output

skcor CEEPU

Sign in or join free to run and submit your solution.