#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <cmath>
#define INF 1000000000

using namespace std;

// the this that

int main() {
	string str;
	while (getline(cin, str)) {
	  string tmp = "";
	  int len = 0, key;
	  for (int i=0; i<str.length(); i++) {
	    if (str[i] == ' ' && len == 4) {
	      if (tmp[0]-'t'==tmp[1]-'h'&&tmp[1]-'h'==tmp[2]-'i'&&tmp[2]-'i'==tmp[3]-'s') {
		key = tmp[0]-'t';
		break;
	      } else if (tmp[0]-'t'==tmp[1]-'h'&&tmp[1]-'h'==tmp[2]-'a'&&tmp[2]-'a'==tmp[3]-'t') {
		key = tmp[0]-'t';
		break;
	      }
	      tmp = ""; len = 0;
	    } else if (str[i] == ' ' && len == 3) {
	      if (tmp[0]-'t'==tmp[1]-'h'&&tmp[1]-'h'==tmp[2]-'e') {
		key = tmp[0]-'t';
		break;
	      }
	      tmp = ""; len = 0;
	    } else {
	      tmp += str[i];
	      len++;
	    }
	  }
	  for (int i=0; i<str.length(); i++) {
	    if (isalpha(str[i])) {
	      str[i] -= key;
	      if (str[i]>'z') str[i] -= 48;
	      else if (str[i]<'a') str[i] += 48;
	    }
	  }
	  cout << str << endl;
	}
}