C++ 代码
#include<iostream>
#include<string>
using namespace std;
int main()
{
string s;
getline(cin, s);
for(char &c : s)
{
if(c == 'z' || c == 'Z')
c -= 25;
else if (c >= 'a' && c < 'z' || c >= 'A' && c < 'Z')
c ++;
}
cout << s << endl;
return 0;
}