seven_seg=lambda x,j=''.join:j(j(' _|?|'[ord('w$km<]_d\x7f}'[int(a)])>>c&b]for a in x for b in(2,1,4))+'\n'for c in(6,3,0))