palindrome number without extra space