๐ก while (True): N = int(input()) cnt = [] #์ฝ์ ๋ฆฌ์คํธ์ ๋ด๊ธฐ sum = 0 if N == -1: break cnt.append(N) for i in range(1,N+1): if ( N % i == 0): cnt.append(i) sum += i if ( (sum-N) != N ) : print(cnt[0],end='') print(" is NOT perfect.") elif ( (sum-N) == N ) : print(cnt[0],end='') print(" =", cnt[1],end='') ..