不是最優解,單純好玩
print((lambda a : "yes" if sum([int(a[j] == a[-(j+1)]) for j in [i for i in range(int(len(a)/2))]]) == int(len(a)/2) else "no")(input()))