Problems
10153 - Encrypt It!!!
SUBMIT PROBLEM

Encrypt It!!!

Time Limit: 1 sec

 

The Problem

This S.S.C the most common issue was question leak. One of Bangladeshi student suggest to encrypt the question. A random student encrypt words using concrete the numbers and alphabets.

There are 26 alphabets. Every alphabet contains a number. Such as 01 for A. 26 for Z. And for numbers He add number with 7 and print the last digit of sum.

He encrypted as below:

 

Example:

ExaM9

E = 05

X = 24

A = 01

M = 13

9 = (9+7) = 16

EXAM9 = 0E52X40A11M36

Now he wants to solve it in programming language. Can You help him by solving this problem??

 

The Input

The input file contains several lines. Each line contains a word which contains both small and capital letter. The length of the word is 100. Input is terminated by EOF.

 

The Output

For each line of input print the output in a separate line.

 

Sample Input

ExaM

BGCTUB

 

Sample Output

0E52x40a11M3

0B20G70C32T02U10B2

 

 

 

Inter University Programming Contest(II) - 2018 [BGC Trust University Bangladesh]

Problem Setter: Shaquib Mahmud