#include<stdio.h>
#include<string.h>


void Roll(char ch[], int times) {
	int cnt = 0;
	while (ch[cnt] != 0) {
		if (96 < ch[cnt] && 123 > ch[cnt])
			ch[cnt] = (ch[cnt] - 97 + times) % 26 + 97;
		cnt++;
	}
}

int main() {
	char inp[100]; char buff[80];

	int pos = 0, bpos = 0;

	while (1) {
		if (gets_s(inp, 100) == NULL)break;
		while (1) {
			if (96 < inp[pos] && 123 > inp[pos]) {
				buff[bpos] = inp[pos];
				bpos++; pos++;
			}
			else {
				buff[bpos] = '\0';
				if (strlen(buff) != 3 && strlen(buff) != 4) {
					bpos = 0;
					continue;
				}
				Roll(buff, 116 - inp[0]);
				if (strcmp(buff, "this") == 0 || strcmp(buff, "that") == 0 || strcmp(buff, "the") == 0) {
					Roll(inp, 116 - inp[0]);
					break;
				}
				else {
					bpos = 0;
					continue;
				}

			}
		}
		puts(inp);
	}
	return 0;
}
