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