function Main(input){
	input = input.split("\n")[0];
  var X = input.split(" ")[0];
  var Y = input.split(" ")[1];
  return (X*1)+(Y*1/2);
}

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