print number function