u=unichr while 1:s,t=map(ord,raw_input().decode('u8'));r=(s-16)%28;print(u(s-r)+u(t+588*(25*r/23+43226**2/11**r%11-22))).encode('u8')