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

[백준/파이썬] 24387번 HONEY BEE EXHIBITION

by 현장 2023. 12. 16.

-Code

a_list = sorted(list(map(int, input().split())))
b_list = sorted(list(map(int, input().split())))
res = 0

for i in range(3):
    res += a_list[i] * b_list[i]

print(res)