#include <iostream>
#include <string>
using namespace std;
//设计一个统一的加密函数
char Encrypt(char a){
if(a>='a'&&a<='y' || a>='A'&&a<='Y') return ++a;
else if(a=='z') return 'a';
else if(a=='Z') return 'A';
else return a;
}
int main() {
string str;
while(getline(cin,str)){ //读入整行数据,使用getline
for(char &i:str){
i=Encrypt(i);
}
cout<<str<<'\n';
}
return 0;
}

京公网安备 11010502036488号