#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;

int main(int argc, const char * argv[])
{
    string word;
    while (getline(cin, word)) {
        string word_tmp = word;
        int cnt, real;
        real = cnt = 0;
        
        //正の場合
        for (int i = 0; i < 26; i++) {
            for (int j = 0; j < word_tmp.size(); j++) {
                word_tmp[j]++;
            }
            cnt++;
            for (int j = 0; j < word_tmp.size(); j++) {
                string word3 = word_tmp.substr(j, 3);
                string word4 = word_tmp.substr(j, 4);
                if (word3 == "the") {
                    real = cnt;
                }
                if (word4 == "this" || word4 == "that") {
                    real = cnt;
                }
            }
        }
        
        //負の場合
        cnt = 0;
        word_tmp = word;
        if (real == 0) {
            for (int i = 0; i < 26; i++) {
                for (int j = 0; j < word_tmp.size(); j++) {
                    word_tmp[j]--;
                }
                cnt--;
                for (int j = 0; j < word_tmp.size(); j++) {
                    string word3 = word_tmp.substr(j, 3);
                    string word4 = word_tmp.substr(j, 4);
//                    cout << word4 << endl;
                    if (word3 == "the") {
                        real = cnt;
                    }
                    if (word4 == "this" || word4 == "that") {
//                        cout << word_tmp << endl;
                        real = cnt;
                    }
                }
            }
        }
        for (int i = 0; i < word.size(); i++) {
            if (word[i] != ' ') {
                if (word[i] != '.') {
                    word[i] += real;
                }
            }
        }
        cout << word << endl;
    }
    return 0;
}