Reverse Code
Time Limit: 1 sec
The Problem
AimaS found a note written in code word which is integer numbers. Here each number [1 – 9] represent [A – I] and 0 represents J. But if the number is more than one digit it reverse itself.
Example:
A
1
12345
Reverse itself as 54321
The result is EDCBA
AimaS wants to make a program that automatic read the numbers and turn it into alphabets. Can you help her with that?
The Input
The Input file contains several lines. Each line contains a single integer number N (0 < N <= 9999999). Input is terminated by EOF
The Output
For each line of input output print the alphabets against the number in a separate line.
Sample Input
12345
10101
Sample Output
EDCBA
AJAJA
Problem Setter: Samia Safa Ahmed