P776 [CF153C] Caesar Cipher
提高+
题目描述

Caesar cipher is one of the simplest encryption techniques. To transform the original message into encrypted one using key k, one has to replace each letter with a letter which is k positions later in the alphabet (if this takes the position beyond Z, the rest of it is counted from the start of the alphabet). In a more formal way, if letters of the alphabet are enumerated starting with 0, the result of encryption for character x will be $$(x+k) \mod 26$$ (26 is the number of letters in the Latin alphabet).

You are given the original message and the encryption key k. Output the resulting cipher.

Input

The first line of input contains the original message — a sequence uppercase Latin letters («A»-«Z»). The length of the message is from 1 to 10, inclusive.

The second line contains an integer k (0 ≤ k ≤ 25).

Output

Output the result of encryption.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
CODEFORCES 5
样例输出
HTIJKTWHJX