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