Deloitte Interview Question

Write a code for palindrome numbers.