Without loops!

Write a program that reads a sequence of natural numbers, and prints each one of the integer numbers reversed.

Input

Input is a sequence of natural numbers.

Output

For each number of the input, print it reversed. Printing reversed numbers, print zeros at the beginning if the were in the end.

Observation

You cannot use any loop, neither @for@ nor @while@ .

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:28:06.875Z

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