k;char*p;main(i,s){for(;i<20;i+=3-printf(*p?133%i?*p/53==i/4||i>5&&--*p%5-2?"<->":" | ":k++%4*7-i?"===":"=*=":"\n"))p&&*p++?:gets(p=s);}