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

int main() {
	string sa;
	while (getline(cin, sa)&& sa != "END OF INPUT") {
		int a = sa.size();
		while (1) {
			for (int i = 0; i < a; i++) {
				if (sa[i] >='a' && sa[i] <='z') {
					sa[i] +=1;
				}
					if (sa[i]>'z'){
						sa[i] -= 26;
					}				
			}
			int za=(int)sa.find(" this "||" that "||" the ");
			if (za != -1) {break;}
		}
		cout << sa << endl;
	}
	return 0;
}