#include<iostream>
#include<string>
using namespace std;
main(){
	string str,str2;
	int tmp,tmp2;
	while(getline(cin,str)){
		for(int i=0;i<str.size();++i){
			str2="";
			tmp='t'-str[i];
			for(int j=0;j<4;++j){
				tmp2=str[i+j];
				if(tmp2>'e')tmp2-=26;
				tmp2+=tmp;
				if(tmp2>'z')tmp2-=26;
				else if (tmp2<'a')tmp2+=26;
				str2+=tmp2;
				if(str2=="the")break;
			}
			if(str2=="this" || str2=="that" || str2=="the"){
				break;
			}
		}
		str2="";
		for(int i=0;i<str.size();++i){
			tmp2=str[i];
			if(tmp2>='a' && tmp2<='z'){
				if(tmp2>'e')tmp2-=26;
				tmp2+=tmp;
				if(tmp2>'z')tmp2-=26;
				else if (tmp2<'a')tmp2+=26;
			}
			str2+=tmp2;
		}
		cout<<str2<<endl;
	}
}