import java.util.*

fun main(args : Array<String>) {
    val scanner = Scanner(System.`in`)
    println(inOutExec(scanner))
}

fun inOutExec(scanner: Scanner): String {
    val x = scanner.nextInt()
    val y = scanner.nextInt()

    return (x + (y/2)).toString()
}