\xef\xbb\xbf_=raw_input() for i in range(17):print'|%s|'%('\/<'[i%3]+'='*(len(_)*6+2)+'/\>'[i%3],'| %s |'%' '.join('( _|_|) '[ord('\xd8\x07\x98\x0f\x18\x1f\x18>\x18|\xcc\x07\x8c\x0f\x0c\x1f\x0c>\x0c| '[2*int(d)+i/8])>>i%8&1::2]for d in _))[0<i%16!=5]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).