"use strict";
function main(input) {
  const inputs = input.split("\n").filter(x => x !== "");

  const X = Number(inputs[0].split(" ")[0]);
  const Y = Number(inputs[0].split(" ")[1]);

  console.log(X + Y/2);
}

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