#include <iostream>
#include <string>
using namespace std;
bool isAlpha(char c){
	return ('a' <= c && c <= 'z');
}
bool isShift(char c1, char c2, int v){
	return (int(c1 - 'a') == int(c2 + v - 'a') % 26);
}
int getShiftVal(string& line){
	int s = line.size();
	string::size_type ps = 0, pe = 0;
	while (true){
		while (ps < s && !isAlpha(line[ps])) ++ps;
		pe = ps;
		while (pe < s && isAlpha(line[pe])) ++pe;
		if (ps >= s || pe >= s)
			break;
		int len = pe - ps;
		if (3 == len){
			if (isShift(line[ps], line[ps + 1], 12) && isShift(line[ps], line[ps + 2], 15)){
				return int('t' - char(line[ps]));
			}
		}
		else if (4 == len){
			if (isShift(line[ps], line[ps + 1], 12) && isShift(line[ps], line[ps + 2], 11) && isShift(line[ps], line[ps + 3], 1)){
				return int('t' - char(line[ps]));
			}
			else if (isShift(line[ps], line[ps + 1], 12) && isShift(line[ps], line[ps + 2], 19) && isShift(line[ps], line[ps + 3], 0)){
				return int('t' - char(line[ps]));
			}
		}
		ps = pe;
	}
	return -1;
}

int main()
{
	string line;
	while (std::getline(cin, line)){
		int s = line.size();
		int v = getShiftVal(line);
		for (int i = 0; i < s; ++i){
			char c = line[i];
			if (isAlpha(c)) cout << char(c + v);
			else cout << c;
		}
		cout << "\n";
	}
	return 0;
}