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