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