#P1914. 小书童——凯撒密码

小书童——凯撒密码

Description

Although he forgot the password, he still remembers that it is composed of a string. The password is formed by shifting each letter in the original string (consisting of at most 50 lowercase letters) forward by nn positions. The letter z is followed by a, wrapping around. Now that he has the original string before shifting and the value of nn, please compute the password.

Input Format

The first line: nn. The second line: a string of letters before shifting.

Output Format

One line, which is this newbie's password.

1
qwe
rxf

Hint

The string length is 50\le 50, and 1n261 \leq n \leq 26.

Translated by ChatGPT 5