#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y;
cin>>x>>y;
cout<<x+y/2<<'\n';
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4gCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKIGludCBtYWluKCkgewogICAgCiAgICAgaW50IHgseTsKICAgIGNpbj4+eD4+eTsKICAgICBjb3V0PDx4K3kvMjw8J1xuJzsKfQoKCgo=