for(;r=readline(n=0);print())for(;c=r[n];n=1+(r+r).indexOf(c,n+1)%52)putstr(c)