program sample
	implicit none
    integer ::a,b,c
    integer ::x(3)
    
    read(*,*) a,b,c
    
    x(1) = a+b
    x(2) = a+c
    x(3) = b+c
    
    write(*,*) minval(x)
    
    stop
end program sample