L = list(map(int, input().split()))
list.sort(L)
print(L[0]+L[1]) L = list(map(int, input().split())) L list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split list.sort(L) list.sort list sort L print(L[0]+L[1]) print L[0]+L[1] L[0] L 0 L[1] L 1 L = list(map(int, input().split())) list(map(int, input().split())) L
L = list(map(int, input().split()))
list.sort(L)
print(L[0]+L[1])