main(c,s){char*p=gets(s);for(;c=~getchar();)*p?*p+++=3+c%6:(p=s);puts(p);}