Coditas interview question

print palindrome no. and one was basic logical question.