object Main extends App {
	val N = scala.io.StdIn.readLine

	val a = N.split(" ")(0).toInt
	val b = N.split(" ")(1).toInt
	val c = N.split(" ")(2).toInt

	val t = List(a,b,c)

	println(a+b+c - t.max)

}