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

using namespace std;

int main(int argc, char *argv[]) {
  string str;
  int shif = -1;
  getline(cin, str);
  stringstream ss(str);
  vector<string> words;
  while (ss >> str)
    words.push_back(str);

  vector<string> copy = words;
  bool out = false;
  while (true) {
    for (int i = 0; i < words.size(); i++)
      if (words[i] == "this" || words[i] == "that" ||
          words[i] == "the") {
        out = true;
        break;
      }
    if (out)
      break;
    for (int i = 0; i < words.size(); i++)
      for (int j = 0; j < words[i].size(); j++)
        if ('a' <= words[i][j] && words[i][j] <= 'z') {
          words[i][j] += shif;
        } else if (words[i][j] != '.') {
          words = copy;
          shif = 1;
          break;
        }
  }

  for (int i = 0; i < words.size(); i++) {
    if (i)
      cout << ' ';
    cout << words[i];
  }
  cout << endl;
  return 0;
}