#include <iostream>
#include <string>
#include <cctype>

using namespace std;

void CaesarCipher(const string&);
int main(){
  string str;
  while(getline(cin,str)){
    CaesarCipher(str);
  }
}


void CaesarCipher(const string& str){
  string diffstr=str;
  int diff=1;
  while(diffstr.find("the")==string::npos&&
        diffstr.find("this")==string::npos&&
        diffstr.find("that")==string::npos ){
    for(int i=0;i<str.length();i++){
      if( !isalpha(str[i])) continue;
      diffstr[i]=(diff+str[i]-'a')%26+'a';
    }
    diff++;
  }
  cout<<diffstr<<endl;
}