#include<stdio.h>
int main()
{
    int x,y,total;
    scanf("%d%d",&x,&y);

    if(x>=1 && x<=100 && y>=1 && y<=100 && y%2==0)
    {
           total=x+(y/2);
    }
    printf("%d\n",total);

    return 0;

}
