"""Palindrome Advanced"""
def main():
    """Main Function"""
    text = input().lower()
    text = text.replace(" ", "")
    text2 = text[::-1]
    if text == text2:
        print("Yes")
    else:
        print("No")

main()

ba990b67bfc6bf47c43ceac72b8c4f064e5099ca
<mask token>

<mask token>


def main():
    """Main Function"""
    text = input().lower()
    text = text.replace(' ', '')
    text2 = text[::-1]
    if text == text2:
        print('Yes')
    else:
        print('No')


<mask token>

<mask token>


def main():
    """Main Function"""
    text = input().lower()
    text = text.replace(' ', '')
    text2 = text[::-1]
    if text == text2:
        print('Yes')
    else:
        print('No')


main()

"""Palindrome Advanced"""
def main():
    """Main Function"""
    text = input().lower()
    text = text.replace(" ", "")
    text2 = text[::-1]
    if text == text2:
        print("Yes")
    else:
        print("No")

main()
