Run ID:86849

提交时间:2024-07-28 16:11:57

n=int(input()) res=0 for x in range(1,n): if n%x==0: res+=x if res==n: print("YES") else: print("NO")