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