#51868: py兩行解


charlesyu5968@gmail.com (尤嘉毅)


x = input()
print("yes" if x == x[::-1] else "no")