def is_palindrome(s: str) -> bool:

    return s[:len(s) // 2] == s[-1 * (len(s) // 2):][::-1]



N = eval(input())

print(('Yes' if is_palindrome(N) else 'No'))
def is_palindrome(s: str) -> bool:

    return s == s[::-1]



N = eval(input())

print(('Yes' if is_palindrome(N) else 'No'))
def is_palindrome(s: str) -> bool:
    return s[: len(s) // 2] == s[-1 * (len(s) // 2) :][::-1]


N = eval(input())
print(("Yes" if is_palindrome(N) else "No"))

def is_palindrome(s: str) -> bool:
    return s == s[::-1]


N = eval(input())
print(("Yes" if is_palindrome(N) else "No"))

-    return s[: len(s) // 2] == s[-1 * (len(s) // 2) :][::-1] +    return s == s[::-1]