import scala.io.StdIn

object Main extends App {

  val a = StdIn.readLine().split(" ").map(_.toInt)
  import scala.math.min
  val r = min(min(a(0) + a(1), a(1) + a(2)), a(0) + a(2)) 
  
  println(r)
  
}