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

int CheckDiff(string);
int ShowSourceString(string,int);
int main(){
	string str;
	while(getline(cin,str)){
		ShowSourceString(str,CheckDiff(str));
	}
	
	return 0;
}

int CheckDiff(string str){
	for( int i=0;i<(int)str.length();i++ ){
		if( (abs(str[i+1]-str[i])==abs('h'-'t'))&& 
		    (abs(str[i+2]-str[i])==abs('a'-'t'))&&
		    (abs(str[i+3]-str[i])==abs('t'-'t'))
		){
			return str[i]-'t';
		}
		if( (abs(str[i+1]-str[i])==abs('h'-'t'))&& 
		    (abs(str[i+2]-str[i])==abs('i'-'t'))&&
		    (abs(str[i+3]-str[i])==abs('s'-'t'))
		){
			return str[i]-'t';
		}
		if( (abs(str[i+1]-str[i])==abs('h'-'t'))&& 
		    (abs(str[i+2]-str[i])==abs('e'-'t'))
		){
			return str[i]-'t';
		}
	}
	return 0;
}
int ShowSourceString(string str,int diff){
	for( int i=0;i<(int)str.length();i++ ){
		if('a'<=str[i]&&str[i]<='z' ){
			if(str[i]-diff>'z'){
				cout<<(char)('a'+str[i]-diff-'z'-1);			
			}else if(str[i]-diff<'a'){
				cout<<(char)('z'-('a'-(str[i]-diff))+1);			
			}else{
				cout<<(char)(str[i]-diff);
			}
		}else{
			cout<<(char)str[i];
		}
	}
	cout<<endl;
	return 0;
}