Crypto Task

0

0 votes
Easy
Problem

Here is a small introduction to you about Cryptography. Cryptography is a subject in which we deal with encryption of messages (by sender) and decryption of that message (by receiver). Analyzing the encrypted messages also comes under Cryptography.

Now you are given with a small task in Cryptography. The task is to convert the given English alphabets to equivalent decimal numbers i.e,
if the alphabet is ' a ' then you should print 1
if the alphabet is ' b ' then you should print 2
if the alphabet is ' z ' then you should print 26
Similarly if the alphabet is ' A ' then you should print 1.

Note: Input may contains Upper Case alphabets also

Input:
Input contains only one alphabet

Output:
Output the integer which is equivalent to the given alphabet

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?