#include<stdio.h>
#include<stdlib.h>
#include<math.h>
using namespace std;

int main()
{
    int a,b;
    while(~scanf("%d%d",&a,&b))
    {

    if(b%2 == 0)
    {
        int s = 0;
        s = a + b/2;
        printf("%d\n",s);
    }
    else
    {
        double s ;
        double c = 1.0*b/2;
        s = a + c;
        printf("%.1f\n",s);
    }


    }

}
