Pregunta de entrevista de IBM

Basic programming question palindrome, odd or even