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