count = 0
for i in range(1,101):
list1 = []
for j in range(1,i):
if i%j==0:
list1.append(j)
if sum(list1)==i:
count +=1
print("完数:{}{}因子:{}".format(sum,i,list1))
count = 0
for i in range(1,101):
list1 = []
for j in range(1,i):
if i%j==0:
list1.append(j)
if sum(list1)==i:
count +=1
print("完数:{}{}因子:{}".format(sum,i,list1))