a,b,c = [int(a) for a in input().split()]
d = min(a+b,b+c,c+a)
print (d) int(a) for a in input().split() for a in input().split() a input().split() ().split () input split for a in input().split() int(a) int a a,b,c = [int(a) for a in input().split()] a [int(a) for a in input().split()] b c d = min(a+b,b+c,c+a) d min(a+b,b+c,c+a) min a+b a b b+c b c c+a c a print (d) print d b,c = [int(a) for a in input().split()] [int(a) for a in input().split()] b d = min(a+b,b+c,c+a) min(a+b,b+c,c+a) d a,b,c = [int(a) for a in input().split()] [int(a) for a in input().split()] a c = [int(a) for a in input().split()] [int(a) for a in input().split()] c
a,b,c = [int(a) for a in input().split()]
d = min(a+b,b+c,c+a)
print (d)