You are given an upper case alphabet C and a single digit number K. Print the alphabet D which is K the alphabet in the order,
That is, print a single character C+K
For example:
A+3 = D
Q+9 = Z
Input Format
The single line of input consists of two characters, C and K, not space separated (refer sample input)
Constraints:
It is guaranteed that the input character will be from 'A' to 'Q' and number 1 to 9 so you don't have to worry about boundary conditions.
Output Format
Print a single upper case character
Sample Input
A3
Sample Output
D
This is what I have so far.
, > , ----- ----- ----- ----- ----- ----- ----- ----- -----
I have landed up on a solution.
Here is the code.