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