changed selective printing of number itself per the more standard version
of the problem