seven_seg=lambda x:''.join(''.join(' _|_| |_   _  |'[m/8**int(d)%8*2:][:3]for d in x)+'\n'for m in(766954341,164466738,29647089))