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