FactSet interview question

write a program palindrome string