a, b, c = map(int, input().split()) p = [a + b, b + c, c + a] p.sort() print(p[1])