#include<iostream>
#include<string>
using namespace std;

int main(){
    string s;
    getline(cin,s);
    for(int i =0 ; i < s.length() ; i++)
    {
        if((s[i] >= 'a' && s[i]<'w') || (s[i] >= 'A' && s[i]<'W'))
        {
        //    cout<<s[i]<<endl;
            s[i] += 4;
        //    cout<<s[i]<<endl;
        }
        if((s[i] >= 'w' && s[i]<='z' )|| (s[i] >= 'W' && s[i]<='Z'))
        {
            s[i] += 4 - 26;
        }
    }
    cout<<s<<endl;
    return 0;
}

 

相关文章:

  • 2021-12-01
  • 2021-07-08
  • 2021-09-24
  • 2021-08-28
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2021-08-06
  • 2022-01-25
  • 2021-06-16
  • 2022-01-16
  • 2022-12-23
相关资源
相似解决方案