# -*- coding: utf-8 -*- # 'A':65, 'Z':90, アルファベットは26文字で一周 if __name__ == '__main__': s = input() n = len(s) original = '' for (c,i) in zip(s, range(1,n+1,1)): j = i % 26 temp = (ord(c) - j) cord = temp if temp>=65 else 90-(64-temp) original_c = chr(cord) original += original_c print(original)