#!/usr/bin/python s = raw_input() res = ''.join(chr((ord(ch)-ord('A')-i-1) % 26 + ord('A')) for i, ch in enumerate(s)) print res