function Main(input){
    var inputs = input.split(" ");

    var X = parseInt(inputs[0],10);
    var Y = parseInt(inputs[1],10);

    var ans = X + Y/2;
    console.log(ans);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));