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

[백준/파이썬] 31280번 ФАКИР

by 현장 2024. 1. 31.

-Code

rats = sorted(list(map(int, input().split())), reverse=True)[:-1]

print(sum(rats) + 1)