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

using namespace std;

int shift(const char* str, int len) {
	char t, h;
	char e, i, a, s;
	int dis;

	for (int pos = 0; pos < len - 1; pos++) {
		if (*(str + 1) == ' ' || *(str + 1) == '.' || *(str + 1) == ',') {
			pos += 2;
			continue;
		}
		t = *(str) - 'a';
		h = *(str + 1) - 'a';
		dis = (t > h) ? (t - h) : (t - h + 26);

		if (dis == 12) {
			e = (h - 3 + 26) % 26;
			i = (h + 1) % 26;
			s = (t - 1 + 26) % 26;
			a = (h - 7 + 26) % 26;

			if ((len > pos + 2 && *(str + pos + 2) == (e + 'a')) ||
				(len > pos + 3 && *(str + pos + 2) == (i + 'a') && *(str + pos + 3) == (s + 'a')) ||
				(len > pos + 3 && *(str + pos + 2) == (a + 'a') && *(str + pos + 3) == (t + 'a'))) {
				return (t - 19 + 26) % 26;
			}
		}
	}
	return -1;
}

int main(int argc, char* argv[])
{
	int s;
	std::string str;

	while (std::getline(cin, str)) {
		s = shift(str.c_str(), str.length());
		if (s == -1) continue;
		for (int i = 0; i < str.length(); i++) {
			printf("%c", (str[i] == ' ' || str[i] == '.' || str[i] == ',') ? str[i] : (char)('a' + ((str[i] - 'a' - s + 26) % 26)));
		}
		printf("\n");
	}
	return 0;
}