Pergunta de entrevista da empresa Susquehanna International Group

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