본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬]5576번 콘테스트

by 현장 2021. 6. 28.

-코드

arr = sorted([int(input()) for _ in range(10)])
arr2 = sorted([int(input()) for _ in range(10)])
print(sum(arr[7:]), sum(arr2[7:]))