#include <iostream>
#include <cstring>
#include <string>
using namespace std;
char exch(char *ch,int m){
	if(*ch+m>'z') return (*ch+m-26);
	else if(*ch+m<'a') return (*ch+m+26);
	else return(*ch+m);
}
int main(){
	string str[81]; int diff; int i=0;int flag=0;
	while(cin >> str[i]){
	if(flag==0) diff='t'-str[i][0];
	if(flag==1) ;
	else if(str[i].size()==3 && exch(&str[i][1],diff)=='h' && exch(&str[i][2],diff)=='e') flag=1;
	else if(str[i].size()==4 && exch(&str[i][1],diff)=='h' && exch(&str[i][2],diff)=='i' && exch(&str[i][3],diff)=='s') flag=1;
	else if(str[i].size()==4 && exch(&str[i][1],diff)=='h' && exch(&str[i][2],diff)=='a' && exch(&str[i][3],diff)=='t') flag=1;
	i++;
	};
	for(int j=0;j<i;j++){
		if(j) cout << ' ' ;
		for(int k=0;k<str[j].size();k++){
			char ch=exch(&str[j][k],diff);
			if(str[j][k]-'a'>=0 && str[j][k]-'z'<=0) cout << ch ;
			else cout << str[j][k] ;
		};
	};
	cout << '\n' ;
}