luogu#P1914. 小书童——凯撒密码
小书童——凯撒密码
Background
A newbie got hooked on "Xiao Shutong". One day, when logging in, he forgot his password (he hadn't bound an email or phone), so he turned to you for help.
Problem 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 positions. The letter z is followed by a, wrapping around. Now that he has the original string before shifting and the value of , please compute the password.
Input Format
The first line: . 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 , and .
Translated by ChatGPT 5