Description:
Input two lines, where
Line 1 is a single character c1 whose value is in the range of 'A' to 'Z' inclusively.
Line 2 is a single character c2 whose value is in the range of 'a' to 'i' inclusively.
Output a single character that is n positions after c1 in alphabetical order, where n is derived from c2 using the following table:
|
c2 |
'a' |
'b' |
'c' |
'd' |
'e' |
'f' |
'g' |
'h' |
'i' |
|
n |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Note : You do not need to consider out-of-range cases (e.g. the 4th character after 'Y' or the 9th character after 'W').
Two characters, c1 and c2.
The nth character after the character c1, where n is derived from c2 using the table above.