n,k,l = (int(x) for x in input().split())

out = n+k+l
out -= max(n,k,l)

print(out) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x n,k,l = (int(x) for x in input().split()) n (int(x) for x in input().split()) k l out = n+k+l out n+k+l n+k n k l out -= max(n,k,l) out max(n,k,l) max n k l print(out) print out out = n+k+l n+k+l out n,k,l = (int(x) for x in input().split()) (int(x) for x in input().split()) n l = (int(x) for x in input().split()) (int(x) for x in input().split()) l k,l = (int(x) for x in input().split()) (int(x) for x in input().split()) k out -= max(n,k,l) max(n,k,l) out
n,k,l = (int(x) for x in input().split())

out = n+k+l
out -= max(n,k,l)

print(out)