function main(input) {
  const args = input.split(' ').map(n => parseInt(n, 10));
  const X = args[0],
        Y = args[1];
  console.log(X + (Y / 2));
}

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