a, b, c = list(map(int, input().split()))
print(min(a + b, b + c, c + a)) a, b, c = list(map(int, input().split())) a list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split b c print(min(a + b, b + c, c + a)) print min(a + b, b + c, c + a) min a + b a b b + c b c c + a c a b, c = list(map(int, input().split())) list(map(int, input().split())) b c = list(map(int, input().split())) list(map(int, input().split())) c a, b, c = list(map(int, input().split())) list(map(int, input().split())) a
a, b, c = list(map(int, input().split()))
print(min(a + b, b + c, c + a))