f = [int(i) for i in input().split() if i.isdigit()]
f.sort()
print(f[0] + f[1]) int(i) for i in input().split() if i.isdigit() for i in input().split() if i.isdigit() i input().split() ().split () input split i.isdigit() i.isdigit i isdigit if i.isdigit() int(i) int i f = [int(i) for i in input().split() if i.isdigit()] f [int(i) for i in input().split() if i.isdigit()] f.sort() f.sort f sort print(f[0] + f[1]) print f[0] + f[1] f[0] f 0 f[1] f 1 f = [int(i) for i in input().split() if i.isdigit()] [int(i) for i in input().split() if i.isdigit()] f
f = [int(i) for i in input().split() if i.isdigit()]
f.sort()
print(f[0] + f[1])