p = [int(i) for i in input().split()]
p.sort()
print(p[0] + p[1]) 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 p = [int(i) for i in input().split()] p [int(i) for i in input().split()] p.sort() p.sort p sort print(p[0] + p[1]) print p[0] + p[1] p[0] p 0 p[1] p 1 p = [int(i) for i in input().split()] [int(i) for i in input().split()] p
p = [int(i) for i in input().split()]
p.sort()
print(p[0] + p[1])
