#include int main() { int L,K,a; scanf("%d",L); scanf("%d",K); a=L/2+K; printf("%d",a); return 0; }