list = list(map(int, input().split()))

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

new_list = sorted(list)
print(new_list[0]+new_list[1])