using C=System.Console;class P{static void Main(){for(int c,n=0,l=1;(c=C.Read())>0;l++,n=c-50)if(c==49){C.Write((char)(n<0?32:n/6+95+n*3+l));l=0;}}}