enum P{P;System z;{try{for(int c,n=1;;z.out.printf(c==1?"%c":"",n>0?n+64:32))n=(n+(c=z.in.read()%5)%~c/2)%27;}catch(Exception e){}}}