lst = sorted([int(x) for x in input().split()])

print(sum(lst[:2])) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x lst = sorted([int(x) for x in input().split()]) lst sorted([int(x) for x in input().split()]) sorted [int(x) for x in input().split()] print(sum(lst[:2])) print sum(lst[:2]) sum lst[:2] lst :2 2 lst = sorted([int(x) for x in input().split()]) sorted([int(x) for x in input().split()]) lst
lst = sorted([int(x) for x in input().split()])

print(sum(lst[:2]))
