#include <bits/stdc++.h> using namespace std; bool isEngChar(char c) { if (c <= 'Z' && c >= 'A')return true; return false; } char change(char c) { if (isEngChar(c -5))return c -5; return c+21; } int main() { string s; while (getline(cin, s)) { if (s == "ENDOFINPUT")return 0; if (s == "START" || s == "END")continue; //开始处理输入 string res; for (int i = 0; i < s.length(); i++) { if (isEngChar(s[i])) res.push_back(change(s[i])); else res.push_back(s[i]); } cout << res<<endl; } } // 64 位输出请用 printf("%lld")