import scala.io.StdIn

object Main {
  def main(args: Array[String]) = {
    val num = StdIn.readLine.split(" ").toList.map(_.toInt)
    val X = num(0)
    val Y = num(1)

    println(X + Y / 2)

  }
}
