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