enum R{R;System z;int a[]=new int[999],c,i;{try{for(;;z.out.write(a[c>47?++i:c]=c>>4==3?a[i+47-c]:c))c=z.in.read();}catch(Exception e){}}}