Deloitte interview question

Write a code for palindrome numbers.