# A - Airplane
# https://atcoder.jp/contests/abc129/tasks/abc129_a

ABC = list(map(int, input().split()))
ABC.sort()
print(ABC[0] + ABC[1]) ABC = list(map(int, input().split())) ABC list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split ABC.sort() ABC.sort ABC sort print(ABC[0] + ABC[1]) print ABC[0] + ABC[1] ABC[0] ABC 0 ABC[1] ABC 1 ABC = list(map(int, input().split())) list(map(int, input().split())) ABC
# A - Airplane
# https://atcoder.jp/contests/abc129/tasks/abc129_a

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