function Main(input) {
  input=input.trim();
  var X = parseInt(input.split(" ")[0]);
  var Y = parseInt(input.split(" ")[1]);
  console.log(X + Y / 2);
}

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