overcomplicated printing of numbers