char*p;main(i,B){for(read(0,p=B,271);*p;++p)for(*p+=*p%8/3,i=8;i--;)*p+=p["ÿðïî"[i]]==42&*p>47;puts(B);}