from os import* a='' while 1:c=read(0,1);a=c[c<'A':write(1,((c+c+`a.find(c)`)*2)[5])]+a