#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <cstdlib>
#include <queue>
#include <set>
#include <stack>
#include <map>
#include <ctime>
#define INF 1361474528
#define MOD 1000000007
using namespace std;

int main()
{
    int x,y;
    cin>>x>>y;
    cout<<x+y/2<<endl;
    return 0;
}

