def Palindrome(str):
    o = str.replace(" ", "")

    if o == o[::-1]:
        return 'true'
    else:
        return 'false'

# keep this function call here  
# to see how to enter arguments in Python scroll down
print Palindrome(raw_input())
"""
Have the function Palindrome(str) take the str parameter being passed and return the string true if the parameter is a palindrome, (the string is the same forward as it is backward) otherwise return the string false. For example: "racecar" is also "racecar" backwards. Punctuation and numbers will not be part of the string. 
"""
