s!.!qw|'==='# 0>$& 0<$& $'=~y/\n//c%4?'===':'=*='#|[$c%9].'+$c-$&%5-4?"<->":" | "'!gee,print,$c++for@a=(<>)x10