A, B, C = map(int, input().split(' ')) print(max(A, B, C) + min(A, B, C))