def pal(y):
  if (len(y)<2):
    return True
  elif (y[0]<>y[len(y)-1]):
    return False
  else: 
    return pal(y[1:len(y)-1])
  
x=raw_input("enter the word:")
print "It is", pal(x)," that ", x," is a palindrome."
