Problems
300 - Very Easy :)
SUBMIT PROBLEM

Very Easy :)

Time Limit: 1 sec

 

The Problem

Make a simple program that reads one variables named N which is must a 4 digit number. Your task is to print the number in reverse order.

 

Example:

If N = 1234 then

You need to print 4321

 

 

The Input

The input file contains one 4 digit integer number N (1000<=N<=9999).

 

The Output

Output will show the reverse of the given number in a separate line.

 

Sample Input

 1234

 

Sample Output

 4321

 

 

 

 

Problem Setter: Shahin ShamS