object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val iobuf = readLine.split(" ").map(_.toInt)
    val ans = ((iobuf.sum + 1) / iobuf.length)
    println(ans)
  }
}
