Use easier way to check palindromic number.