Problems
547 - Reverse
SUBMIT PROBLEM

Reverse

Time Limit: 0.5 sec

 

The Problem

You will be given a number. You task is to represent the number in reverse way.

 

Example

If input number is 1234

Then the output number will be 4321.

 

The Input

The Input file contains several lines. Each line contains a single integer N (0< N <= 10^10000). Input is terminated by EOF.

 

The Output

For each line of input print the reverse number in a separate line.

 

Sample Input

1234

5689

 

Sample Output

4321

9865

 

 

 

 

Problem Setter: Samia Safa Ahmed