de='ABCDEFGHIJKLMNOPQRSTUVWXYZ' a='' for i,x in enumerate(input()):a+=de[(de.index(x)--~i)%26] print(a)