Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
84402 丁俊杰 2020 Python3 Accepted 34 MS 3768 KB 136 2024-07-15 19:03:34

Tests(3/3):


Code:

n=int(input()) a=n//1000 b=n//100%10 c=n//10%10 d=n%10 if str(a)+str(b)==str(c)+str(d): print("YES") else: print("NO")