c[9];main(i,a){for(;putchar(a=c[++i%51]|=getchar()|a&1)%9;);}