#PCBSAU0000042. Dịch mã ký tự (Shift Unicode Code Point)
Dịch mã ký tự (Shift Unicode Code Point)
Shift Unicode Code Point
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given one character and integer , compute ord(c)+k and print the character at that code point; do not wrap the alphabet.
Input
Line 1 has exactly one Unicode character ; line 2 has integer .
Output
One line containing chr(ord(c)+k).
Subtask
- Subtask 1 — 100 points: ; resulting code point is printable, at least 32, and not surrogate.
Example
Input
A
2
Output
C
Explanation
ord("A")=65; adding 2 gives 67; chr(67) is C.