Atos-Syntel interview question

Write palindrome program