#include <stdio.h>
#include <conio.h>

void Rest(char *before, char lag);

char ans[81];

int main(void)
{
	char before[81];
	
	scanf("%[^\n]", before);
	
	if (before[0] == 't'){
		printf("%s\n", before);
	}
	else if (before[0] < 't'){
		Rest(before, 't' - before[0]);
		printf("%s\n", ans);
	}
	else if (before[0] > 't'){
		Rest(before, before[0] - 't');
		printf("%s\n", ans);
	}
	
	return (0);
}

void Rest(char *before, char lag)
{
	int i;
	for (i = 0; before[i] != '\0'; i++){
		
		if (before[i] >= 'a' && before[i] <= 'z' ||
			before[i] >= 'A' && before[i] <= 'Z'){
			
			if (before[i] - lag < 'a'){
				ans[i] = before[i] - lag + 26;
			}
			else if (before[i] - lag > 'z'){
				ans[i] = before[i] - lag - 26;
			}
			else {
				ans[i] = before[i] - lag;
			}
		}
		else {
			ans[i] = before[i];
		}
	}
	ans[i] = '\0';
}