Run ID:99370

提交时间:2024-11-26 19:55:55

s=int(input()) z=0 for a in range(1,s): if s%a==0: z+=a if z==s: print('YES') else: print('NO')