Problem:
Score : 200 points

Problem Statement

We have a string S consisting of uppercase English letters. Additionally, an integer N will be given.

Shift each character of S by N in alphabetical order (see below), and print the resulting string.

We assume that A follows Z. For example, shifting A by 2 results in C (A \to B \to C), and shifting Y by 3 results in B (Y \to Z \to A \to B).

Constraints

0 \leq N \leq 26

1 \leq |S| \leq 10^4

S consists of uppercase English letters.

Input

Input is given from Standard Input in the following format:

N
S

Output

Print the string resulting from shifting each character of S by N in alphabetical order.

Sample Input 1

2
ABCXYZ

Sample Output 1

CDEZAB

Note that A follows Z.

Sample Input 2

0
ABCXYZ

Sample Output 2

ABCXYZ

Sample Input 3

13
ABCDEFGHIJKLMNOPQRSTUVWXYZ

Sample Output 3

NOPQRSTUVWXYZABCDEFGHIJKLM

Solution in C (Clang 3.8.0) (judge verdict: Runtime Error)

#include <stdio.h>
#include <string.h>
 
char shift_char(int shift_count,char char_in)
{
char str[27] = "abcdefghijklmnopqrstuvwxyz";
int i,j;
//入力文字の位置を検索
for (i = 0; i < 26; i++){
if (char_in == str[i]) break;
}
//入力文字がa～z以外ならaとみなす
if (i == 26) i = 0;

j = (i + shift_count)%26;
//左へのずらしに対応する
if (j < 0) {
j += 26;
}

return str[j];
}
int main(void)
{
char str[27]="abcdefghijklmnopqrstuvwxyz",str1[50], str2[50];
int x,i,j,len;


scanf("%d",&x);
scanf("%s", str1);
len=strlen(str1);

for(i=0;i<len;i++)
{
str2[i] = shift_char(x,str1[i]);
}
//終端にNULLを付加する
str2[i] = '\0';
printf("%s",str2);

return 0;
}