aaa = raw_input() bbb = "" for i in range(len(aaa)): if ord("Z") < ord(aaa[i])+i: bbb = bbb + chr(ord("A")+i-(ord("Z")-ord(aaa[i]))-1) else: bbb = bbb + chr(ord(aaa[i])+i) print bbb