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