## 10988 팰린드롬
word = input()
stndrd = len(word)//2
if word[0:stndrd] == word[len(word):-stndrd-1:-1]:
print(1)
else:
print(0)
Python/코테 연습
## 10988 팰린드롬
word = input()
stndrd = len(word)//2
if word[0:stndrd] == word[len(word):-stndrd-1:-1]:
print(1)
else:
print(0)