import std.stdio, std.algorithm, std.array, std.string, std.conv, std.container;
T Read(T)() { return readln.chomp.to!(T); }
T[] Reads(T)() { return readln.split.to!(T[]); }
alias read = Read!(int);
alias reads = Reads!(int);

void main() {
    int x, y; readf("%d %d\n",&x,&y);
    writeln(x + y / 2);
}
