#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <map>
#include <queue>
#include <cstdlib>
#include <algorithm>
#include <iterator>
#include <stack>
typedef long long int lli;
using namespace std;

int main(){
	string str;
	while(getline(cin,str)){
		for(int i=1; i<=25; ++i){
			string tmp=str;
			for(int j=0; j<str.size(); ++j){
				if('A'<=str[j]&&str[j]<='Z'){
					if('A'<=tmp[j]+i&&tmp[j]+i<='Z'){
						tmp[j]=tmp[j]+i;
					} else {
						tmp[j]=tmp[j]+i+'A'-'Z'-1;
					}
				} else if('a'<=str[j]&&str[j]<='z'){
					if('a'<=tmp[j]+i&&tmp[j]+i<='z'){
						tmp[j]=tmp[j]+i;
					} else {
						tmp[j]=tmp[j]+i+'a'-'z'-1;
					}
				}
			}
			if(tmp.find("the")!=-1||tmp.find("this")!=-1||tmp.find("that")!=-1){
				cout << tmp << endl;
				break;
			}
		}
	}
	return 0;
}