function Main(input) {
    input = input.split(" ");
    nums = input.map(input=>parseInt(input,10))

    var x =  nums[0]   
    var y =  nums[1]/2
    console.log(x+y);
}  

Main(require("fs").readFileSync("/dev/stdin", "utf8"));