add print for palidromeNumber demo