'use strict';
const main = input => {
  input = input[0].split(' ').map(val => parseInt(val, 10));
  const x = input[0], y = input[1];
  console.log(x+y/2);
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));