#include <iostream>
#include <string>
#include <vector>

void split(const std::string &s, const char *delims, std::vector<std::string> &v)
{
    std::string::size_type p = 0;
    while (true) {
        std::string::size_type sp = s.find_first_of(delims, p);
        if (sp == std::string::npos) break;
        v.push_back(std::string(s.substr(p, sp - p)));
        p = sp + 1;
    }
}

int search_number(const std::string &s)
{
    std::vector<std::string> v;
    split(s, " ,.", v);

    const char *key = "this";
    for (unsigned i = 0; i < v.size(); ++i) {
        if (v[i].size() == 4) {
            int n = v[i][0] - key[0];
            if (v[i][1] - key[1] == n && v[i][2] - key[2] == n && v[i][3] - key[3] == n) return n;
        }
    }
    return 0;
}

int main()
{
    std::string s;
    while (getline(std::cin, s)) {
        int n = search_number(s);
        for (unsigned i = 0; i < s.size(); ++i) {
            if (s[i] != ' ' && s[i] != ',' && s[i] != '.') {
                s[i] -= n;
                if (s[i] < 'a') s[i] += 26;
                if (s[i] > 'z') s[i] %= 26;
            }
        }
        std::cout << s << std::endl;
    }
}