Pregunta de entrevista de Susquehanna International Group

Write a program to check if an input string is a palindrome.