while(True): _input = input() if(_input == "0"): break if(len(_input)%2 == 0): cnt = len(_input) // 2 sum = "" for i in range(cnt): sum += _input[i] for j in range(cnt - 1, -1, -1): sum += _input[j] if _input == sum: print("yes") else: print("no") else: cnt = len(_input) // 2 + 1 sum = "" for i in range(cnt): sum += _input[i] for j in range(cnt - 2, -1, -1): sum += _input[j] if _input == sum: pr..