#include #include using namespace std; void rot13(string & s) { for (int i = 0; i < s.length(); i += 1) { int pos = s[i] - 'a'; pos = (pos + 13) % 26; s[i] = (char)(pos + 'a'); } } int main() { while (true) { string word; cin >> word; rot13(word); cout << word << " "; } }