# coding: utf-8
# Your code here!
List=list(map(int, input().split()))
List=sorted(List)
print(List[0]+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 List=sorted(List) List sorted(List) sorted List print(List[0]+List[1]) print List[0]+List[1] List[0] List 0 List[1] List 1 List=sorted(List) sorted(List) List List=list(map(int, input().split())) list(map(int, input().split())) List
# coding: utf-8
# Your code here!
List=list(map(int, input().split()))
List=sorted(List)
print(List[0]+List[1])
