object Main extends App {
    var get = readLine.split(" ")
 var a = get(0).toInt
 var b = get(1).toInt
 var c = get(2).toInt
  var sum = a + b
  sum = math.min(sum,a+b)
  sum = math.min(sum,a+c)
  sum = math.min(sum,b+c)
  println(sum)
}