add algoritm-print-num-to-max