# Check Palindrome (recursive)

# Check if a given String S is palindrome or not (using recursion).
# Return true or false.
# Read input as specified in the question.
# Print output as specified in the question.
def palindrome(s):

    # implement the checkpali function


s = input()
print(palindrome(s))
