#include <iostream>
using namespace std;
int main() {
int n{};//错位n次
cin>>n;
string a;//输入字符串
cin>>a;
int k=a.size();//获取字符串长度
while(n--)//循环n次进行错位操作
{
for(int i=0;i<k;i++)//对长度为k的字符串的每一位进行一次错位
{
if(a[i]=='z')//溢出倒转回a
a[i]='a';
else//往后移一位
a[i]+=1;
}
}
cout<<a;
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号