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

int main(void){

	char s[81],word[81];
	int i,j;
	int key=0;


	while(gets(s)!=NULL){


		while(1){
		
			i=0;j=0;
			while(s[i] != '\0'){

				if(s[i] == ' '||s[i] == '\n'||s[i+1] == '\0'){


					if(s[i+1] != '\0'){
						i++;
					}
					else if(s[i] != '.'){
						if(s[i]+key <= 'z')
							word[j] = s[i]+key;
						else
							word[j] = 'a'+(key - ('z'-s[i]));
					}


					if(strcmp(word,"the")==0 || strcmp(word,"this")==0 || strcmp(word,"that")==0){
						goto answer;
					}

					for(j=0;j<81;j++)
						word[j] = NULL;
						
					j=0;

					if(s[i+1] == '\0')
						break;

				}
				else{
				
					if(s[i] != '.'){
						if(s[i]+key <= 'z')
							word[j] = s[i]+key;
						else
							word[j] = 'a'+(key - ('z'-s[i]));

						j++;
					}
					i++;
				
				}
			}

			key++;
			if(key > 'z'-'a')
				key = 0;
		}


		answer:
		for(i=0;i<strlen(s);i++){
			if(s[i]>='a' && s[i] <= 'z'){
				if(s[i]+key < 'z')
					putchar(s[i]+key);
				else
					putchar('a'+(key - ('z'-s[i])));
			}
			else
				putchar(s[i]);

		}
		puts("");
		

	}


	return 0;

}