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

int kanji(int in, int z){
	if (in > 96) {
		return in - z;
	}
	else{
		return in;
	}
}

int main(){
	while (true)
	{
		string input, output;
		int z = 0, k;
		getline(cin, input);
		if (cin.eof()) { break; }
		int innum[81] = {};
		for (int i = 0;i<input.size();i++){
			innum[i] = input[i];
		}

		for(int i=0;i<input.size();i++){
			if(innum[i]-innum[i+1] == 12){
				if(innum[i]-innum[i+2] == 15){
					k = innum[i] - 116;
					break;
				}
				else if(innum[i]-innum[i+2] == 11){
					if(innum[i]-innum[i+3] == 1){
						k = innum[i] - 116;
						break;
					}
				}
				else if(innum[i]-innum[i+2] == 19){
					if(innum[i]-innum[i+3] == 0){
						k = innum[i] - 116;
						break;
					}
				}
			}
		}

		for(int i=0;i<input.size();i++){
			output += kanji(innum[i], k);
		}
		cout << output << endl;
	}
}