def seven_seg(x):j=''.join;return j(j('   _  | |_|_ _|'[0x68A65AA922B66C992490482>>3*int(o+l)&14:][:3]for l in x)+'\n'for o in'012')
