cm=[]
for _ in range(9):
cm.append(int(input()))
hap=sum(cm)
for i in range(9):
for j in range(i+1,9):
if hap-(cm[i]+cm[j])==100:
n1=cm[i]
n2=cm[j]
cm.remove(n1)
cm.remove(n2)
cm.sort()
for k in cm:
print(k)
접근 방법