'use strict';

function Main(input) {
  const X = Number(input.split(" ")[0]);
  const Y = Number(input.split(" ")[1]);
  console.log(X + Y/2);

};

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