# lst=[60,70,30,80,100]
# sum=0
# for n in lst:
#     sum+=n
# print(sum)

# lst=[1,2,3,4,5,6,7,8,9,10]
# for value in lst:
#     if value%2==0:
#         print(value)

# lst=[2,4,6]
# sum=0
# for n in lst:
#     sum+=n
# # print(sum)
# for num in lst:
#     print(sum-num)

# lst=[5,6,3]
# sum=0
# for n in lst:
#     sum+=n
# for num in lst:
#     print(sum-num)

lst=[2,3,4,5]
sum=0
for n in lst:
    sum+=n
for num in lst:
    print(sum-num)








