#include<iostream> using namespace std; int main() { string s; while(cin >> s) { for(int i = 0; i < s.length(); i++) { //小写 if(s[i] >= 'a' && s[i] <= 'z') { s[i] = 'z' + 'a' - s[i]; } //大写 if(s[i] >= 'A' && s[i] <= 'Z') { s[i] = 'Z' + 'A' - s[i]; } } cout << s << endl; return 0; } }