import sys input = sys.stdin.readline x,y,z=list(map(int,input().split())) A=[x+y,y+z,z+x] A.sort() print(A[1])