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