import std.stdio, std.conv, std.string, std.algorithm.comparison, std.algorithm.searching, std.algorithm.sorting;

void main()
{
    int[] input = readln().split.to!(int[]);
    int X = input[0];
    int Y = input[1];
    writeln(X + Y / 2);
}