A, B, C = map(int, input().split()) li = sorted([A+B, B+C, C+A]) print(li[1])