#include <iostream>
#include <string>

int search_number(const std::string &s)
{
    const char *key = "this";
    std::string::size_type p = 0;
    while (true) {
        std::string::size_type sp = s.find(' ', p);
        if (sp == std::string::npos) break;
        if (sp - p == 4) {
            int n = s[p] - key[0];
            if (s[p + 1] - key[1] == n && s[p + 2] - key[2] == n && s[p + 3] - key[3] == n) return n;
        }
        else p = sp + 1;
    }
    return s[p] - key[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;
    }
}