function Main(input){
  var inputs = input.split(" "); 
  var X = parseInt(inputs[0],10);
  var Y = parseInt(inputs[1],10);
  var answer = X + Y/2;
  console.log(answer);
}
    Main(require('fs').readFileSync('/dev/stdin','utf8'));