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