n=3
a=[0]*n
a[:]=map(int,input().split())
a.sort()
print(sum(a)-a[len(a)-1]) n=3 n 3 a=[0]*n a [0]*n [0] 0 n a[:]=map(int,input().split()) a[:] a : map(int,input().split()) map int input().split() ().split () input split a.sort() a.sort a sort print(sum(a)-a[len(a)-1]) print sum(a)-a[len(a)-1] sum(a) sum a a[len(a)-1] a len(a)-1 len(a) len a 1 n=3 3 n a=[0]*n [0]*n a
n=3
a=[0]*n
a[:]=map(int,input().split())
a.sort()
print(sum(a)-a[len(a)-1])