X=input()
a, b, c= map(str, X.split())
a ,b ,c=int(a), int(b), int(c)
test1=a+b
test2=a+c
test3=b+c
list=[]
list.append(test1)
list.append(test2)
list.append(test3)
print(min(list)) X=input() X input() input a, b, c= map(str, X.split()) a map(str, X.split()) map str X.split() X.split X split b c a ,b ,c=int(a), int(b), int(c) a int(a) int a b int(b) int b c int(c) int c test1=a+b test1 a+b a b test2=a+c test2 a+c a c test3=b+c test3 b+c b c list=[] list [] list.append(test1) list.append list append test1 list.append(test2) list.append list append test2 list.append(test3) list.append list append test3 print(min(list)) print min(list) min list test1=a+b a+b test1 a ,b ,c=int(a), int(b), int(c) int(a) a list=[] [] list a, b, c= map(str, X.split()) map(str, X.split()) a b ,c=int(a), int(b), int(c) int(b) b test2=a+c a+c test2 c=int(a), int(b), int(c) int(c) c test3=b+c b+c test3 b, c= map(str, X.split()) map(str, X.split()) b c= map(str, X.split()) map(str, X.split()) c X=input() input() X
X=input()
a, b, c= map(str, X.split())
a ,b ,c=int(a), int(b), int(c)
test1=a+b
test2=a+c
test3=b+c
list=[]
list.append(test1)
list.append(test2)
list.append(test3)
print(min(list))