S = raw_input() count = 1 B = "" for str in S: A = chr(((26 + ord(str) - 64) - count % 26 ) % 26 + 64) B = B + A count += 1 print B