#include <stdio.h>
int average(int a, int b) {
return (a + b) / 2;
}
int main(void) {
int m = 1500000000;
int av = average(m, m);
printf("m=%d\naverage=%d", m
, av
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgYXZlcmFnZShpbnQgYSwgaW50IGIpIHsKCXJldHVybiAoYSArIGIpIC8gMjsKfQoKaW50IG1haW4odm9pZCkgewoJaW50IG0gPSAxNTAwMDAwMDAwOwoJaW50IGF2ID0gYXZlcmFnZShtLCBtKTsKCXByaW50ZigibT0lZFxuYXZlcmFnZT0lZCIsIG0sIGF2KTsKCXJldHVybiAwOwp9Cg==