#include <stdio.h>
#include<iostream>
#include<cstdio>
#include<cstring>
#include<string.h>
using namespace std;
int main(void)
{
	int n, m, A = 0, B = 0, l, a[100] = { 0 }, b[100] = { 0 }, i = 0, j;
	char str[100] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ"}, XML[1001] = { NULL }, poj[1001] = { NULL };
	scanf("%s", XML);
	for (i = 0; i < strlen(XML); i++) {
		for (n = 0; n < 26; n++) {
			if (XML[i] == str[n]) {
				poj[i] = str[n + 23];
			}
		}
	}
	

		printf("%s\n", poj);
}