import scala.io.StdIn

object Main extends App {
  val Array(a, b, c) =  StdIn.readLine().split(" ").map(_.toInt)

  def solve(a: Int, b: Int, c: Int): Int = {
    List(a, b, c).combinations(2).map(_.sum).min
  }

  println(solve(a, b, c))
}
  

