# -*- coding: utf-8 -*- alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] mojiretsu = list(input()) count = int(len(mojiretsu)) decode_mojiretsu = "" for i in range (count): moji = mojiretsu[i] decode_1 = alphabet.index(moji) i += 1 decode_mojiretsu += alphabet[decode_1 - i] print (decode_mojiretsu)