lst = list(map(int, input().split()))
print(sum(lst) - max(lst)) lst = list(map(int, input().split())) lst list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split print(sum(lst) - max(lst)) print sum(lst) - max(lst) sum(lst) sum lst max(lst) max lst lst = list(map(int, input().split())) list(map(int, input().split())) lst
lst = list(map(int, input().split()))
print(sum(lst) - max(lst))