#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
int main() {
int a, b, c;
scanf("%d %d", &a, &b);
c = a + (b - a) / 2;
printf("%d\n", c);
system("pause");
return 0;
}
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
int main() {
int a, b, c;
scanf("%d %d", &a, &b);
c = a + (b - a) / 2;
printf("%d\n", c);
system("pause");
return 0;
}