#include <iostream>
using namespace std;

void cypher(char &c);

int main(){
    string input;
    while(getline(cin, input)){
        int len = input.length();
        for(int i=0;i<len;i++){
            cypher(input[i]);
        }
        cout << input << endl;
    }
    
    return 0;
}

void cypher(char &c){
    c = ((c >= 33 && c <= 79)) ? c+46 : ((c >= 80 && c <= 125)) ? c-46 : c;
}