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