Reversed number

Write a program that reads a number and prints it reversed.

Input

Input consists of a natural number.

Output

Print the number reversed, with as many zeros at its left as it has at its right.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:02:26.947Z

© Jutge.org, 2006–2026.
https://jutge.org