#define _USE_MATH_DEFINES
#include <iostream>
#include <queue>
#include <vector>
#include <math.h>
#include <algorithm>
#include <iomanip>
#include <string>
#include <stack>
using namespace std;

int main(){
	int gap = 0;
	string s;
	while(getline(cin, s)) {
		for (int i = 0; i < 3; ++i) {
			for (int j = 0; j < 'z' - 'a' + 1; ++j) {
				string cs;
				if (i == 0) cs = "the";
				if (i == 1) cs = "that";
				if (i == 2) cs = "this";
				for (int k = 0; k < cs.length(); ++k) {
					int sum;
					sum = (cs[k] - 'a' + j) % ('z' - 'a' + 1);
					cs[k] = 'a' + sum;
				}
				if (s.find(cs) != string::npos) {

					gap = j;
					break;
				}
			}
			if (gap != 0) break;
		}
		for (int i = 0; i < s.length(); ++i) {
			if ('a' <= s[i] && s[i] <= 'z') {
				int sum;
				sum = (s[i] - 'a' - gap + 'z' - 'a' + 1) % ('z' - 'a' + 1);
				s[i] = sum + 'a';
			}
		}
		cout << s << endl;
	}
	return 0;
}